From 6011ab5cd402e0dade81c19ff0139bba300bffa2 Mon Sep 17 00:00:00 2001 From: mtuszowski Date: Thu, 19 Sep 2024 16:39:22 +0200 Subject: [PATCH] fx --- voice_recognition.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/voice_recognition.py b/voice_recognition.py index f1f6a20..56c3553 100644 --- a/voice_recognition.py +++ b/voice_recognition.py @@ -159,9 +159,10 @@ class Transcriber(commands.Cog): async def test(self, ctx): logger.info("Attempt transcribe") vc = None - vc = await ctx.author.voice.channel.connect(cls=voice_recv.VoiceRecvClient) logger.info(self.bot.voice_clients) logger.info("Connected") + vc = await ctx.author.voice.channel.connect(cls=voice_recv.VoiceRecvClient) + logger.info(self.bot.voice_clients) vc.listen(self.wsink) @commands.command(name="stop_transcribe")