From 3e9276f5b7aaff4c9c077a43cbf0ffcb07bfed1e Mon Sep 17 00:00:00 2001 From: Takeus <68923554+TakeusV1@users.noreply.github.com> Date: Sun, 16 Oct 2022 20:18:31 +0200 Subject: [PATCH] Update app.py --- app.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app.py b/app.py index 5de0d6c..aa4ba1b 100644 --- a/app.py +++ b/app.py @@ -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():