fix(intents): not getting message content
This commit is contained in:
parent
7807211863
commit
3738a8b8e8
1 changed files with 4 additions and 2 deletions
6
main.go
6
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()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue