Spaces:
Paused
Paused
Update bot.py
Browse files
bot.py
CHANGED
@@ -13,8 +13,9 @@ mysql = mysql.connector.connect(
|
|
13 |
database=os.environ.get('DB_DATABASE'),
|
14 |
port=3306
|
15 |
)
|
16 |
-
|
17 |
-
|
|
|
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
|