fix(intents): not getting message content

This commit is contained in:
Anhgelus Morhtuuzh 2025-05-21 19:13:00 +02:00
parent 7807211863
commit 3738a8b8e8
Signed by: anhgelus
GPG key ID: CAD341EFA92DDDE5

View file

@ -19,7 +19,7 @@ var (
Version = gokord.Version{ Version = gokord.Version{
Major: 3, Major: 3,
Minor: 1, Minor: 1,
Patch: 1, Patch: 2,
} }
stopPeriodicReducer chan<- interface{} stopPeriodicReducer chan<- interface{}
@ -171,7 +171,9 @@ func main() {
AfterInit: afterInit, AfterInit: afterInit,
Innovations: innovations, Innovations: innovations,
Version: &Version, Version: &Version,
Intents: discordgo.IntentsAllWithoutPrivileged | discordgo.IntentsGuildMessages | discordgo.IntentGuildMembers, Intents: discordgo.IntentsAllWithoutPrivileged |
discordgo.IntentsMessageContent |
discordgo.IntentGuildMembers,
} }
bot.Start() bot.Start()