mirror of
https://github.com/migatu/conjurer.git
synced 2026-07-14 21:38:38 +00:00
Adding flask to bo main
This commit is contained in:
@@ -2250,6 +2250,8 @@ if __name__ == "__main__":
|
||||
# TODO: wpakowac kondzia w wąteki odpalic asynchronicznie rownolegle z flaskiem do sterowania nim
|
||||
logger.info("Starting discord bot")
|
||||
threads = []
|
||||
#threads.append(threading.Thread(target=waitress_run))
|
||||
threads.append(threading.Thread(target=flask_debug))
|
||||
threads.append(threading.Thread(target=client.run, args=(TOKEN,)))
|
||||
for worker in threads:
|
||||
worker.start()
|
||||
|
||||
@@ -11,3 +11,5 @@ requests
|
||||
spotipy
|
||||
tiktoken
|
||||
PyNaCl
|
||||
flask
|
||||
waitress
|
||||
Reference in New Issue
Block a user