Update Pagebot threading

This commit is contained in:
ceb515 2024-02-15 14:52:11 -05:00
parent 479d6a7145
commit f79f41f0db
2 changed files with 3 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 667 B

View File

@ -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()