diff --git a/lib/restart.sh b/lib/restart.sh new file mode 100755 index 0000000..a42d484 --- /dev/null +++ b/lib/restart.sh @@ -0,0 +1,10 @@ +#!/bin/sh +wait 5 +if [ -f ../control.sh ]; then + ../control.sh restart +elif [ -f ../bot.sh ]; then + ../bot.sh restart +else + ../bot.py +fi +exit 0 \ No newline at end of file