(Programming Language - Node.js | Shell)
Tutorial to install the bot ! For LINUX (VPS or Dedicated Server)
bash <( curl -s https://raw.githubusercontent.com/LvlXp_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/LvlXp_bot.git
cd LvlXp_bot/
npm i && npm i pm2 -g
And you also change this line :
{
"token" : " YOUR_TOKEN" ,
"clientId" : " CLIENT_ID" ,
"guildId" : " GUILD_ID" ,
"rolesByLevel" : {
"25" : " ROLE_ID_01" ,
"50" : " ROLE_ID_02" ,
"YOUR_CHOICE_LEVEL01" : " ROLE_ID_03" ,
"YOUR_CHOICE_LEVEL02" : " ROLE_ID_04" ,
"YOUR_CHOICE_LEVEL03" : " ROLE_ID_05" ,
"YOUR_CHOICE_LEVEL04" : " ROLE_ID_06" ,
"YOUR_CHOICE_LEVEL05" : " ROLE_ID_07" ,
"YOUR_CHOICE_LEVEL06" : " ROLE_ID_08" ,
"YOUR_CHOICE_LEVEL07" : " ROLE_ID_09"
},
"updateInterval" : 60000
}
After doing this, press CTRL + X and you press Y and ENTER then you do the following commands !
pm2 start index.js -n LvlXp_bot --time
Support on Discord : Discord Link - Create a Ticket with bot for help
If you like this repository don't hesitate to give it a star ⭐ !
Then it's the end you have started the bot have fun !