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()