fix(bot): missing intents

This commit is contained in:
Guz
2024-11-18 10:03:11 -03:00
parent 2316448156
commit 84ade64afd

View File

@@ -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