diff options
-rw-r--r-- | bot.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bot.py b/bot.py index f6145e9..f48d32a 100644 --- a/bot.py +++ b/bot.py @@ -5,7 +5,8 @@ from dotenv import load_dotenv import bot_utils load_dotenv() -bot = commands.Bot(command_prefix="t!", activity=nextcord.Activity(name="for commands", type=nextcord.ActivityType.watching)) +intents = discord.Intents(members=True, presences=True) +bot = commands.Bot(command_prefix="t!", activity=nextcord.Activity(name="for commands", type=nextcord.ActivityType.watching), intents=intents) bot.help_command = bot_utils.MyHelpCommand(command_attrs={'hidden':True}) @bot.event |