Skip to content

Kurama250/LvlXp_bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LvlXp_bot

(Programming Language - Node.js | Shell)

Tutorial to install the bot ! For LINUX (VPS or Dedicated Server)

1 - on Terminal

A) Auto installer
  • Run command :
bash <(curl -s https://raw.githubusercontent.com/LvlXp_bot/main/setup.sh)
B) Manual installer
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

2 - on Terminal

nano config.json
  • 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 !

3 - on Terminal

pm2 start index.js -n LvlXp_bot --time

Support on Discord : Discord Link

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 !

About

A Discord bot for managing XP and leveling system and stats server !

Topics

Resources

License

Stars

Watchers

Forks