From 84ade64afdaeb5ff1fa6da6c1a71493cf5eb0cf5 Mon Sep 17 00:00:00 2001 From: "Gustavo L de Mello (Guz)" Date: Mon, 18 Nov 2024 10:03:11 -0300 Subject: [PATCH] fix(bot): missing intents --- bot/bot.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bot/bot.go b/bot/bot.go index 7fef4cd..07af1f7 100644 --- a/bot/bot.go +++ b/bot/bot.go @@ -28,6 +28,8 @@ func NewBot( return nil, err } + s.Identify.Intents = discordgo.MakeIntent(discordgo.IntentsAllWithoutPrivileged) + db, err := db.Prepare(database) if err != nil { return nil, err