This commit is contained in:
2024-04-09 01:38:10 +02:00
parent a75daccf9f
commit 660e2a264a
2 changed files with 9 additions and 6 deletions
+1 -1
View File
@@ -2220,7 +2220,7 @@ if __name__ == "__main__":
logger.info("Starting discord bot")
threads = []
threads.append(threading.Thread(target=client.run, args=(TOKEN,)))
threads.append(threading.Thread(target=communication_subroutine.comm_subroutine, args=(OUT_COMM_Q,)))
threads.append(threading.Thread(target=communication_subroutine.comm_subroutine, args=(OUT_COMM_Q,IN_COMM_Q)))
for worker in threads:
worker.start()
for worker in threads: