From d7f116620a7d0342509a82cdabf5a9801a0e5649 Mon Sep 17 00:00:00 2001 From: Dan Date: Thu, 14 Nov 2024 22:55:26 -0500 Subject: [PATCH] fixed a message issue --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 39e23e0..b4ccd82 100644 --- a/main.py +++ b/main.py @@ -118,6 +118,6 @@ DISCORD_TOKEN = os.getenv('DISCORD_TOKEN') # Initialize and run the Discord bot intents = discord.Intents.default() -intents.messages = True +intents.message_content = True bot = DiscordBot(intents=intents) bot.run(DISCORD_TOKEN)