Skip to content

Commit

Permalink
Reduce intents to All-without-privileged. Which is the default anyways
Browse files Browse the repository at this point in the history
  • Loading branch information
mozoarella committed Feb 17, 2024
1 parent 97596d9 commit 2dd581c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot.go
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ func setupDiscordSession() {
log.Error("Couldn't set up the Discord session", err)
return
}
dc.Identify.Intents = discordgo.IntentGuildMessages | discordgo.IntentsDirectMessages
dc.Identify.Intents = discordgo.IntentsAllWithoutPrivileged
}

func addDiscordHandlers() {
Expand Down

0 comments on commit 2dd581c

Please sign in to comment.