From 35e74a275c852b812624b0604c03a01a2918449c Mon Sep 17 00:00:00 2001 From: Gakuto Furuya <57865205+gaato@users.noreply.github.com> Date: Wed, 30 Mar 2022 19:19:43 +0900 Subject: [PATCH] Update README code example --- README.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.rst b/README.rst index d6dbc8115c..3d224001ff 100644 --- a/README.rst +++ b/README.rst @@ -108,7 +108,9 @@ Traditional Commands Example import discord from discord.ext import commands - bot = commands.Bot(command_prefix=">") + intents = discord.Intents.default() + intents.message_content = True + bot = commands.Bot(command_prefix=">", intents=intents) @bot.command() async def ping(ctx):