Skip to content

Commit

Permalink
Merge pull request #21 from TibbyRocks/feature/reduce-intents
Browse files Browse the repository at this point in the history
Reduce intents to All-without-privileged. Which is the default anyways
  • Loading branch information
mozoarella authored Feb 17, 2024
2 parents 97596d9 + 2dd581c commit 24b8ff2
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 24b8ff2

Please sign in to comment.