fixed a message issue

This commit is contained in:
Dan 2024-11-14 22:55:26 -05:00
parent 5cef36a2df
commit d7f116620a

View File

@ -118,6 +118,6 @@ DISCORD_TOKEN = os.getenv('DISCORD_TOKEN')
# Initialize and run the Discord bot # Initialize and run the Discord bot
intents = discord.Intents.default() intents = discord.Intents.default()
intents.messages = True intents.message_content = True
bot = DiscordBot(intents=intents) bot = DiscordBot(intents=intents)
bot.run(DISCORD_TOKEN) bot.run(DISCORD_TOKEN)