Update app.py

This commit is contained in:
Takeus committed 2022-10-16 20:18:31 +02:00
1 parent 5b936533ca
commit 3e9276f5b7
1 file changed
+3 -1
+3 -1
View File
@@ -17,7 +17,9 @@ if ptero_enable:
discord_admins_id = [] # Identifiant (Discord) des utilisateurs pouvant interagir avec les commandes...
#bot = discord.Client()
bot = commands.Bot(command_prefix=bot_prefix)
intents = discord.Intents.default()
intents.message_content = True
bot = commands.Bot(command_prefix=bot_prefix,intents=intents)
@bot.event
async def on_ready():