Update start.sh
This commit is contained in:
parent
70a3d6a9d5
commit
9a3e4c0ce2
4
start.sh
4
start.sh
@ -68,7 +68,7 @@ fi
|
||||
|
||||
read -p "Enter your bot token: " token
|
||||
read -p "Enter your chat ID: " id
|
||||
sed -i "s/const token = 'your token here'/const token = '$token'/g" server.js
|
||||
sed -i "s/const id = 'chat id here'/const id = '$id'/g" server.js
|
||||
sed -i "s/const token = 'your token here'/const token = '$token'/g" index.js
|
||||
sed -i "s/const id = 'chat id here'/const id = '$id'/g" index.js
|
||||
echo "Server uploaded successfully! Now open new tab and follow rest instructions"
|
||||
node server.js
|
||||
|
Loading…
x
Reference in New Issue
Block a user