A simple Discord bot that awards XP to users for each message they send. Users level up upon reaching certain XP thresholds.
- Awards XP for each message.
- Notifies users when they level up.
!rankcommand to view current level and XP.
-
Clone the repository: git clone https://github.com/natrixIsBack/Simple-Discord-XP-Bot
-
Install dependencies: npm install
-
Configure the bot:
- Rename
config.json.exampletoconfig.json. - Replace
"YOUR_BOT_TOKEN"with your Discord bot token.
- Run the bot: node index.js
!rank: Displays your current level and XP.
- Node.js v16.6.0 or higher
- Discord.js v14