From e628b18354939c1ae36746fa75a860f1c750c7b0 Mon Sep 17 00:00:00 2001 From: mtuszowski Date: Fri, 20 Sep 2024 14:27:46 +0200 Subject: [PATCH] asa --- voice_recognition.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/voice_recognition.py b/voice_recognition.py index 4915763..3cde36c 100644 --- a/voice_recognition.py +++ b/voice_recognition.py @@ -155,8 +155,6 @@ class Transcriber(commands.Cog): logger.info("Connected") vc = await ctx.author.voice.channel.connect(cls=voice_recv.VoiceRecvClient) logger.info(self.bot.voice_clients) - self.output_handler.work = True - self.output_handler.scan_loop.start() self.worker.start() vc.listen(self.wsink) @@ -206,8 +204,6 @@ class Transcriber(commands.Cog): @commands.command(name="stop_transcribe") async def stop(self, ctx): - - self.output_handler.work = False self.check_data.stop() self.worker.stop() await ctx.voice_client.disconnect()