removing extra intents

This commit is contained in:
jake 2025-06-04 16:18:18 -04:00
parent 9c4c6b882e
commit 87d25659be

12
bolt.go
View File

@ -13,14 +13,16 @@ import (
const ( const (
TOKEN_ENV_VAR = "DISCORD_TOKEN" //label for token environment variable 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.IntentGuildPresences |
// dg.IntentMessageContent // dg.IntentMessageContent |
// dg.IntentsGuildMessages
BOT_INTENTS = dg.IntentsAllWithoutPrivileged | BOT_INTENTS = dg.IntentGuildMembers |
dg.IntentGuildMembers |
dg.IntentGuildPresences | dg.IntentGuildPresences |
dg.IntentMessageContent dg.IntentMessageContent |
dg.IntentsGuildMessages
) )
// basic bot structure containing discordgo connection as well as the command map // basic bot structure containing discordgo connection as well as the command map