From 50ba897d947baba90fba89b11ae65a06da6e6a0f Mon Sep 17 00:00:00 2001 From: Myned Date: Thu, 16 Mar 2023 03:07:51 -0500 Subject: [PATCH] Change intents to be more specific --- run.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/run.py b/run.py index 58a936a..9ced63d 100644 --- a/run.py +++ b/run.py @@ -14,8 +14,14 @@ if os.name != "nt": uvloop.install() - -bot = lightbulb.BotApp(token=c.config["token"], intents=hikari.Intents.ALL_GUILDS) +intents = ( + hikari.Intents.GUILDS # limbo + | hikari.Intents.GUILD_MEMBERS # limbo + | hikari.Intents.GUILD_MESSAGES # activity + | hikari.Intents.GUILD_MESSAGE_TYPING # activity + | hikari.Intents.GUILD_VOICE_STATES # activity +) +bot = lightbulb.BotApp(token=c.config["token"], intents=intents) # Listener for global exceptions