1
0

talk in audio channel (not working yet)

This commit is contained in:
2020-12-13 16:14:23 +01:00
parent e64a364fd1
commit a47f6b2df1
4 changed files with 119 additions and 13 deletions

View File

@ -20,8 +20,14 @@ func main() {
return
}
discord.Identify.Intents = discordgo.MakeIntent(discordgo.IntentsGuilds |
discordgo.IntentsGuildMessages |
discordgo.IntentsGuildVoiceStates)
discord.AddHandler(core.MessageHandler)
discord.AddHandler(core.MessageTalkback)
discord.AddHandler(core.GuildCreate)
err = discord.Open()
if err != nil {