diff --git a/lib/restart.py b/lib/restart.py index 0502ee5..0f2e309 100755 --- a/lib/restart.py +++ b/lib/restart.py @@ -4,10 +4,8 @@ import sys import os import subprocess -if os.path.isfile("./control.sh"): - restart = "./control.sh restart" -elif os.path.isfile("./bot.sh"): - restart = "./bot.sh restart" +if os.path.isfile("./cloudbot"): + restart = "./cloudbot restart" else: restart = "./bot.py"