From 3738a8b8e88d25d700c3135eab78a0e0ee68271b Mon Sep 17 00:00:00 2001 From: Anhgelus Morhtuuzh Date: Wed, 21 May 2025 19:13:00 +0200 Subject: [PATCH] fix(intents): not getting message content --- main.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index bb7512e..7f0c64f 100644 --- a/main.go +++ b/main.go @@ -19,7 +19,7 @@ var ( Version = gokord.Version{ Major: 3, Minor: 1, - Patch: 1, + Patch: 2, } stopPeriodicReducer chan<- interface{} @@ -171,7 +171,9 @@ func main() { AfterInit: afterInit, Innovations: innovations, Version: &Version, - Intents: discordgo.IntentsAllWithoutPrivileged | discordgo.IntentsGuildMessages | discordgo.IntentGuildMembers, + Intents: discordgo.IntentsAllWithoutPrivileged | + discordgo.IntentsMessageContent | + discordgo.IntentGuildMembers, } bot.Start()