aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnhgelus Morhtuuzh <anhgelus@anhgelus.world>2025-05-21 19:13:00 +0200
committerAnhgelus Morhtuuzh <anhgelus@anhgelus.world>2025-05-21 19:13:00 +0200
commit3738a8b8e88d25d700c3135eab78a0e0ee68271b (patch)
treecfce1f246122c9e27ecd84cd1fa6603e88ba3e11
parent7807211863622740decb0761d3ee1a73658cdcb6 (diff)
fix(intents): not getting message content
-rw-r--r--main.go6
1 files 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()