diff options
| author | Anhgelus Morhtuuzh <anhgelus@anhgelus.world> | 2025-05-21 19:13:00 +0200 |
|---|---|---|
| committer | Anhgelus Morhtuuzh <anhgelus@anhgelus.world> | 2025-05-21 19:13:00 +0200 |
| commit | 3738a8b8e88d25d700c3135eab78a0e0ee68271b (patch) | |
| tree | cfce1f246122c9e27ecd84cd1fa6603e88ba3e11 /main.go | |
| parent | 7807211863622740decb0761d3ee1a73658cdcb6 (diff) | |
fix(intents): not getting message content
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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() |
