mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-27 13:34:28 +00:00
Gently stop everything
This commit is contained in:
parent
07e2c1fedd
commit
4f2060a220
1 changed files with 2 additions and 0 deletions
2
bots.py
2
bots.py
|
@ -28,4 +28,6 @@ if __name__ == "__main__":
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
if platform.system() == "Linux":
|
if platform.system() == "Linux":
|
||||||
os.system("reset")
|
os.system("reset")
|
||||||
|
print("Stopping...")
|
||||||
discord_telegram_pipe[0].send("stop")
|
discord_telegram_pipe[0].send("stop")
|
||||||
|
time.sleep(30)
|
Loading…
Reference in a new issue