From 2dd581ca716ff77c1d3ca5b4ccdfecec5d48f79c Mon Sep 17 00:00:00 2001 From: Dylan Maassen van den Brink Date: Sat, 17 Feb 2024 19:02:21 +0100 Subject: [PATCH] Reduce intents to All-without-privileged. Which is the default anyways --- bot.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.go b/bot.go index 7d71661..3a4e059 100644 --- a/bot.go +++ b/bot.go @@ -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() {