mirror of
https://github.com/migatu/conjurer.git
synced 2026-07-14 21:38:38 +00:00
FIx att 4
This commit is contained in:
@@ -44,6 +44,8 @@ import yt_dlp
|
||||
from spotify_dl import spotify
|
||||
from spotify_dl import youtube as youtube_download
|
||||
|
||||
import communication_subroutine
|
||||
|
||||
COMM_Q = Queue()
|
||||
Music_Config = TypedDict(
|
||||
"Music_Config",
|
||||
@@ -2218,7 +2220,11 @@ if __name__ == "__main__":
|
||||
logger.info("Starting discord bot")
|
||||
threads = []
|
||||
threads.append(threading.Thread(target=client.run, args=(TOKEN,)))
|
||||
|
||||
communication_subroutine.comm_subroutine()
|
||||
for worker in threads:
|
||||
worker.start()
|
||||
for worker in threads:
|
||||
worker.join()
|
||||
|
||||
# widok - generuje się 5 stron po 4 linki
|
||||
# odśwież - zamienić na "dalej" - zaciąga kolejne 20 rezultatów
|
||||
|
||||
Reference in New Issue
Block a user