abhicodes commited on
Commit
f6dc1b0
·
1 Parent(s): 8358381

Update bot.py

Browse files
Files changed (1) hide show
  1. bot.py +3 -2
bot.py CHANGED
@@ -13,8 +13,9 @@ mysql = mysql.connector.connect(
13
  database=os.environ.get('DB_DATABASE'),
14
  port=3306
15
  )
16
-
17
- bot = commands.Bot(command_prefix='!')
 
18
 
19
 
20
  @bot.event
 
13
  database=os.environ.get('DB_DATABASE'),
14
  port=3306
15
  )
16
+ intents = discord.Intents.default()
17
+ intents.message_content = True
18
+ bot = commands.Bot(command_prefix='!', intents=intents)
19
 
20
 
21
  @bot.event