mirror of
https://github.com/majmongoose/PageBot.git
synced 2024-11-03 01:01:16 -04:00
Update Pagebot threading
This commit is contained in:
parent
479d6a7145
commit
f79f41f0db
BIN
img/black.jpg
BIN
img/black.jpg
Binary file not shown.
Before Width: | Height: | Size: 667 B |
@ -117,8 +117,9 @@ if __name__ == "__main__":
|
||||
observer.start()
|
||||
|
||||
## Launch TTD
|
||||
watchdog_thread = threading.Thread(target=launch_and_watch, args=(secrets_file.ttd_path,))
|
||||
watchdog_thread.start()
|
||||
if (secrets_file.ttd_path != ""):
|
||||
watchdog_thread = threading.Thread(target=launch_and_watch, args=(secrets_file.ttd_path,))
|
||||
watchdog_thread.start()
|
||||
|
||||
## initialize discord
|
||||
intents = discord.Intents.default()
|
||||
|
Loading…
Reference in New Issue
Block a user