Skip to content

Commit

Permalink
Merge pull request Pycord-Development#1212 from gaato/fix-readme
Browse files Browse the repository at this point in the history
Update README code example
  • Loading branch information
Middledot authored Mar 31, 2022
2 parents 411b6c3 + 35e74a2 commit 59e3d4c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 59e3d4c

Please sign in to comment.