- Run command :
bash <(curl -s https://raw.githubusercontent.com/Status_bot/main/setup.sh)
apt update && apt upgrade -y
apt install npm nodejs git -y
curl -fsSL https://deb.nodesource.com/setup_20.x | bash - &&\
apt-get install -y nodejs
git clone https://github.com/Kurama250/Status_bot.git
cd Status_bot/
npm install [email protected] [email protected]
npm install pm2 -g
nano config/config.json
- And you also change this line on config/config.json :
{
"token": "YOUR_TOKEN",
"roleId": "ROLE_ID",
"serverId": "SERVER_ID",
"triggerMessages": [
"/update",
".gg/update",
"discord.gg/update",
"https://discord.gg/update"
],
"webhookUrl": "WEBHOOK_URL"
}
- After doing this, press CTRL + X and you press Y and ENTER then you do the following commands !
pm2 start main.js -n Status_bot
- Demo :
Licence : Creative commons - CC BY-NC-ND 4.0 by Kurama250