diff --git a/voice_recognition.py b/voice_recognition.py index fed0e30..b9655f8 100644 --- a/voice_recognition.py +++ b/voice_recognition.py @@ -216,15 +216,18 @@ async def transcribe_output_queue(): logger.info("PING") async def setup(bot): logger = logging.getLogger("discord") - logger.info("Started comms") + logger.info("Loading voice transcribed module phase one") threads = [] - #threads.append(threading.Thread(target=flask_debug)) threads.append(threading.Thread(target=transcribe_output_queue)) + logger.info("Loading voice transcribed phase two") for worker in threads: worker.start() + logger.info("Loading voice transcribed module phase three") + for worker in threads: worker.join() + logger.info("Loading voice transcribed module phase four") await bot.add_cog(Transcriber(bot))