diff options
author | MounderFod <mounderfod@gmail.com> | 2021-08-31 21:04:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-31 21:04:01 +0100 |
commit | 93f1d305858c97030fbeb148aeb84152389441e7 (patch) | |
tree | ab1bc1f0820292adc693e4b2386709300a516344 | |
parent | 29030a08509651b5e74f900865317f3260a983a7 (diff) | |
download | tiny-potato-bot-93f1d305858c97030fbeb148aeb84152389441e7.tar.gz |
Add some intents stuff
-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 |