This commit is contained in:
2024-09-20 13:36:00 +02:00
parent 39865253fe
commit b78f542778
+5 -2
View File
@@ -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))