-
Notifications
You must be signed in to change notification settings - Fork 12
/
installer.sh
34 lines (29 loc) · 966 Bytes
/
installer.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
echo "/ ---------------------------------------------- /"
echo " ShadeBot created by Alipoodle"
echo " 6 / 12 / 2016"
echo " All rights reserved."
echo "/ ---------------------------------------------- /"
echo Installing Required Node Modules...
echo --------------------------------------
npm i
echo.
echo Done!
echo Creating run files for ShadeBot...
echo ------------------------------------
echo "echo Starting the Auto restart Bot program for Linux / Mac
echo If you require any help with it not working, please check some of the comments in this file!
while :
do
node app.js
echo Bot shutdown, restarting now
done
#!/bin/bash
# If you have issues running this try this code
# sudo chmod 777 run.sh" > run.sh
echo Created run.sh
echo ------------------------------------
echo Discord.js may provide some warnings... these can simply be ignored!
sleep 1
echo Closing...
sleep 5
exit