Updated intents

This commit is contained in:
Paillat
2022-12-13 09:46:26 +01:00
committed by GitHub
parent 4ce587bbe3
commit 8c75b27387

View File

@@ -7,6 +7,7 @@ import datetime # pip install datetime
from config import debug, conn, c # import the debug function and the database connection from config import debug, conn, c # import the debug function and the database connection
intents = discord.Intents.default() intents = discord.Intents.default()
intents.message_content = True intents.message_content = True
intents.members = True
bot = discord.Bot(intents=intents, help_command=None) # create the bot bot = discord.Bot(intents=intents, help_command=None) # create the bot
bot.add_cog(cogs.Setup(bot)) bot.add_cog(cogs.Setup(bot))
bot.add_cog(cogs.Settings(bot)) bot.add_cog(cogs.Settings(bot))