How to Add a Leveling System on Discord
2 min readUpdated 27 November 2026
How to turn on levels and XP on a Discord server, give roles for levels, announce level-ups and show a leaderboard - step by step with AdviceBot.
A leveling system is one of the easiest ways to get people chatting on your server. Every message earns experience points (XP), and new levels bring roles and congratulations. With AdviceBot you set it up in a few minutes.
How levels work in AdviceBot
- Members earn XP for chat messages. The bot has spam protection, so typing one letter over and over gets you nothing.
- XP can also come from time spent in voice channels.
- After collecting enough XP, a member levels up - the bot announces it in a channel or in a DM.
- You can give roles for chosen levels (e.g. "Active" from level 10).
Step 1: turn on Levels
- 1Add AdviceBot to your server if you haven't yet.
- 2Go to advicebot.info → Dashboard and pick your server.
- 3Open Levels and turn it on.
From now on the bot counts XP for messages.
Step 2: set up level-up announcements
Choose where the level-up message goes:
- a separate channel (e.g. #level-ups) - keeps the chat clean,
- the channel where the member leveled up,
- or a DM.
You can change the text, e.g. "GG {user}, you just reached level {level}!".
The bot needs View Channel and Send Messages in the announcement channel. If it doesn't have them, the dashboard shows a warning under "Needs attention".
Step 3: add level roles
In the rewards section, add level → role pairs, for example:
- level 5 - Newbie,
- level 15 - Active,
- level 30 - Veteran,
- level 50 - Legend.
AdviceBot's role has to be above the roles it gives out in Server Settings → Roles - otherwise Discord won't let it assign them.
Step 4: show the leaderboard
/rank- a card with your level, XP and progress to the next level./toplvl- the most active members on the server.- A public leaderboard page - you'll find the link in the Levels module; post it in #info, for example.
Useful commands for staff
/exp add- gives XP to a member (e.g. a reward for an event).
Tips that make levels actually work
- 1Give the first reward early - a role at level 3-5 motivates newcomers.
- 2Announce level-ups in a separate channel, so they don't flood the chat.
- 3Run XP events - e.g. double XP on weekends brings people back.
Levels are free. More about the module: Discord leveling bot.
Didn't find an answer?
Message us on the support server - the team will help you step by step.