From d1311d057ff4ca5cc432feefac88181c5a35a4c1 Mon Sep 17 00:00:00 2001 From: Luther Wen Xu Date: Tue, 15 Oct 2019 23:29:23 +0800 Subject: [PATCH] go: Register voice state update listener --- GoBot/discord/discord.go | 1 + 1 file changed, 1 insertion(+) diff --git a/GoBot/discord/discord.go b/GoBot/discord/discord.go index 101bed1..93ad3a0 100644 --- a/GoBot/discord/discord.go +++ b/GoBot/discord/discord.go @@ -17,6 +17,7 @@ func StartBot(token string, kill chan bool) { } dg.AddHandler(ProcessCommand) + dg.AddHandler(ProcessVoiceStateUpdate) dg.AddHandler(modules.CheckForReact) dg.AddHandler(modules.CheckForVote) dg.StateEnabled = true