From 87d25659be642f4a36139db8f394497b5f6488c8 Mon Sep 17 00:00:00 2001 From: jake Date: Wed, 4 Jun 2025 16:18:18 -0400 Subject: [PATCH] removing extra intents --- bolt.go | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/bolt.go b/bolt.go index c714f91..6826019 100644 --- a/bolt.go +++ b/bolt.go @@ -13,14 +13,16 @@ import ( const ( TOKEN_ENV_VAR = "DISCORD_TOKEN" //label for token environment variable - // BOT_INTENTS = dg.IntentGuildMembers | //discord permissions for the bot + // BOT_INTENTS = dg.IntentsAllWithoutPrivileged | + // dg.IntentGuildMembers | // dg.IntentGuildPresences | - // dg.IntentMessageContent + // dg.IntentMessageContent | + // dg.IntentsGuildMessages - BOT_INTENTS = dg.IntentsAllWithoutPrivileged | - dg.IntentGuildMembers | + BOT_INTENTS = dg.IntentGuildMembers | dg.IntentGuildPresences | - dg.IntentMessageContent + dg.IntentMessageContent | + dg.IntentsGuildMessages ) // basic bot structure containing discordgo connection as well as the command map