mirror of
https://github.com/TakeusV1/gameserver_discordpy_bot.git
synced 2026-10-13 17:15:34 +02:00
Update app.py
This commit is contained in:
1 parent
5b936533ca
commit
3e9276f5b7
1 file changed
+3
-1
@@ -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():
|
||||
|
||||
Reference in new issue
Block a user