From acc517bebc578715b76514d3d06604e568a8c902 Mon Sep 17 00:00:00 2001 From: StudyLion Date: Wed, 29 Sep 2021 11:01:20 +0200 Subject: [PATCH] hotpatch(client): Remove `presences` intent. --- bot/meta/client.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bot/meta/client.py b/bot/meta/client.py index 00b0cc23..5310171d 100644 --- a/bot/meta/client.py +++ b/bot/meta/client.py @@ -10,5 +10,7 @@ conf = Conf(CONFIG_FILE) # Initialise client owners = [int(owner) for owner in conf.bot.getlist('owners')] -client = cmdClient(prefix=conf.bot['prefix'], owners=owners, intents=Intents.all()) +intents = Intents.all() +intents.presences = False +client = cmdClient(prefix=conf.bot['prefix'], owners=owners, intents=intents) client.conf = conf