Update start.sh
This commit is contained in:
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
|
||||
|
Reference in New Issue
Block a user