1
0

fix: message intent update made content empty

This commit is contained in:
2024-01-16 15:23:33 +01:00
parent 82bdc2b921
commit d3cff676a0
6 changed files with 31 additions and 8 deletions

View File

@ -25,7 +25,8 @@ func main() {
discord.Identify.Intents = discordgo.MakeIntent(discordgo.IntentsGuilds |
discordgo.IntentsGuildMessages |
discordgo.IntentsGuildVoiceStates)
discordgo.IntentsGuildVoiceStates |
discordgo.IntentMessageContent)
discord.AddHandler(core.MessageHandler)
discord.AddHandler(core.MessageTalkback)