joytou commited on
Commit
e5419b0
·
verified ·
1 Parent(s): 5315e3d

Update discord_bot.py

Browse files
Files changed (1) hide show
  1. discord_bot.py +1 -1
discord_bot.py CHANGED
@@ -14,7 +14,7 @@ import json
14
 
15
 
16
  intents = discord.Intents.default()
17
- intents.messages = True
18
  bot = commands.Bot(command_prefix='>', intents=intents)
19
 
20
  @bot.command()
 
14
 
15
 
16
  intents = discord.Intents.default()
17
+ intents.message_content = True
18
  bot = commands.Bot(command_prefix='>', intents=intents)
19
 
20
  @bot.command()