diff --git a/voice_recognition.py b/voice_recognition.py index 2cf0232..6230618 100644 --- a/voice_recognition.py +++ b/voice_recognition.py @@ -150,9 +150,11 @@ class Transcriber(commands.Cog): vc = await ctx.author.voice.channel.connect(cls=voice_recv.VoiceRecvClient) logger.info(self.bot.voice_clients) self.check_data.start() + logger.info("Start worker!~!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!") self.worker.start() vc.listen(self.wsink) + @tasks.loop(seconds=0.5) async def check_data(self): for item in self.wsink.wavewriter.values():