From 910eaa59546b9faab6120e829ad805b3a61d7919 Mon Sep 17 00:00:00 2001 From: Tyler Stiene Date: Thu, 8 Apr 2021 00:49:49 -0400 Subject: [PATCH] speaking debug messages --- discord.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/discord.go b/discord.go index 4268780..71aced5 100644 --- a/discord.go +++ b/discord.go @@ -72,6 +72,7 @@ func (dd *DiscordDuplex) discordSendPCM(ctx context.Context, wg *sync.WaitGroup, <-ticker.C if len(pcm) > 1 { if !streaming { + log.Panicln("Debug: Discord start speaking") dd.Bridge.DiscordVoice.Speaking(true) streaming = true } @@ -107,6 +108,7 @@ func (dd *DiscordDuplex) discordSendPCM(ctx context.Context, wg *sync.WaitGroup, } else { if streaming { + log.Panicln("Debug: Discord stop speaking") dd.Bridge.DiscordVoice.Speaking(false) streaming = false }