fixed a message issue
This commit is contained in:
parent
5cef36a2df
commit
d7f116620a
2
main.py
2
main.py
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user