mirror of
https://github.com/Paillat-dev/Botator.git
synced 2026-01-02 09:16:19 +00:00
Updated intents
This commit is contained in:
@@ -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))
|
||||||
|
|||||||
Reference in New Issue
Block a user