mirror of
https://github.com/migatu/conjurer.git
synced 2026-07-14 21:38:38 +00:00
1
This commit is contained in:
@@ -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))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user