aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2020-10-07 19:56:45 +0100
committerGravatar Joe Banks <[email protected]>2020-10-07 19:56:45 +0100
commit6684b05cd20ccd00ecc5fa753a3eebb172b4709b (patch)
tree6339a2c823bee4ddf80486e1760a69acce5669f0
parentFix typo in intents (diff)
Use correct method for intents
-rw-r--r--metricity/bot.py4
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,