diff options
author | 2020-10-07 19:56:45 +0100 | |
---|---|---|
committer | 2020-10-07 19:56:45 +0100 | |
commit | 6684b05cd20ccd00ecc5fa753a3eebb172b4709b (patch) | |
tree | 6339a2c823bee4ddf80486e1760a69acce5669f0 | |
parent | Fix typo in intents (diff) |
Use correct method for intents
-rw-r--r-- | metricity/bot.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/metricity/bot.py b/metricity/bot.py index 8f8ef95..018c2dc 100644 --- a/metricity/bot.py +++ b/metricity/bot.py @@ -19,8 +19,8 @@ from metricity.models import Category, Channel, Message, User log = logging.getLogger(__name__) -intents = Intents.all( - guild=True, +intents = Intents( + guilds=True, members=True, bans=False, emojis=False, |