- Run command :
bash <(curl -s https://raw.githubusercontent.com/Kurama250/Stats_bot/main/setup.sh)
apt update && apt upgrade -y
apt install npm nodejs git
curl -fsSL https://deb.nodesource.com/setup_20.x | bash - &&\
apt-get install -y nodejs
git clone https://github.com/Kurama250/Stats_bot.git
cd Stats_bot
npm install discord.js@12
npm install pm2 -g
nano config.json
"token": "YOUR_TOKEN",
After doing this, press CTRL + X and you press Y and ENTER then you do the following commands !
pm2 start index.js -n Stats_bot
- Demo :