mirror of
https://github.com/majmongoose/PageBot.git
synced 2026-06-09 17:44:51 -04:00
Update Pagebot threading
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 667 B |
+3
-2
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user