Discord level bot XP for every message and every voice hour.

Demo: mira writes in the general channel of Lantern Lounge and reaches level 12. Lantern congratulates her and gives her the Regular role, then the leaderboard shows Kestrel first, tobi second and juno third.

Illustration. The real interface may look different.

Members of your Discord server earn XP by chatting and by sitting in voice with others. Levels unlock roles, and a leaderboard in Discord shows who is ahead.

Message and voice XP

Chatting counts, and so does voice

A message earns XP, with a cooldown so spamming does not pay off. Voice earns XP by the minute, as long as someone else is in the channel and you are not muted.

  • Message XP with a cooldown you set
  • A minimum and a maximum XP per message
  • Voice XP for time spent in voice channels
  • Voice only counts while someone else is in the channel
  • Muted and deafened members earn no voice XP
  • You set the voice XP rate per minute

Illustration. The real interface may look different.

Level-up messages and role rewards

A message and a role at the levels you pick

The bot announces every level-up in your words. Tie roles to levels and members collect them on the way up, from their first evening to the regulars who have been around for years.

  • Level-up messages you write yourself
  • Separate messages for milestone levels
  • Several versions the bot picks from at random
  • Roles at the levels you choose
  • The previous reward role can be removed when the next one arrives
  • XP multiplier roles, for example double XP for boosters
  • Bonus XP channels

Illustration. The real interface may look different.

Leaderboard

A leaderboard that updates itself

Pick a channel and the bot keeps the leaderboard there, updated every five minutes. Members can also run /leaderboard whenever they like.

  • A leaderboard embed that keeps itself current
  • Channels and roles can be excluded from XP
  • A leveling curve you choose: linear, exponential or custom
  • Staff commands to reset XP, and to add or remove it once you switch that on

Illustration. The real interface may look different.

Set up in four steps

The first two are yours. The other two happen in chat.

Enable leveling
Switch the leveling module on in your SCNX dashboard. Choose the XP rates, the cooldown and the channels that count.
Add rewards
Tie roles to the levels where they should unlock, and write the level-up messages your members see.
Members earn XP
Members earn XP by chatting and by joining voice channels. The bot keeps count in the background.
Levels and ranks
Each level-up is announced, roles unlock and the leaderboard reorders.

The numbers people ask about

Short answers before you start configuring.

Highest level
No cap by default.
Role rewards
Any level can carry a role.
XP multipliers
They stack. Boosters can earn double XP, for example.
Leaderboard
Updated every five minutes in its own channel.

Leveling commands

Two for members, two for staff.

/profile
Shows your level, XP and message count, or another member's
/leaderboard
Shows the server leaderboard
/manage-levels edit-xp
For staff, once switched on: add, remove or set a member's XP
/manage-levels reset-xp
For staff: reset a member's XP, or everyone's

Questions about leveling

How does XP work?

Members earn XP for messages, with a cooldown against spam, and for time in voice channels. You set the XP range per message, the cooldown and the voice rate in the dashboard.

What happens when a member levels up?

The bot posts the level-up message you wrote. If the level has a role reward, the member gets the role. Milestone levels can have their own message.

Can I give certain roles bonus XP?

Yes, with XP multiplier roles. Server boosters can earn double XP, for example, and multipliers stack.

Can I exclude channels from earning XP?

Yes. You can exclude channels and roles, and they earn no XP.

Can I import XP from another bot?

There is no automatic import. Once you switch on staff XP editing, staff can set a member's XP with /manage-levels edit-xp, so balances from another bot can be re-entered by hand.

When do members earn voice XP?

Members earn voice XP while at least one other person is in the same voice channel. The bot and members who are alone earn nothing. Muted or deafened members earn nothing either, stage channels do not count, and neither do channels and roles on your exclusion lists. You set the amount with XP given per Voice Minute. XP is paid out in batches, so voice level-ups do not show up minute by minute.

How hard is it to level up, and can I change that?

Yes, you can change it. Type of the leveling curve lets you pick Easy Linear, Default Linear, Exponentiation or your own formula. A custom formula takes only x, the level, and returns the XP needed, and a broken formula disables the module, so test it first. You can also change the XP per message and the cooldown. The level simulator in our docs shows how many messages a level takes, and /calculate-level lets members check it in Discord once you switch it on.

Is there a leaderboard?

Yes. /leaderboard shows the server leaderboard, sorted by levels or by XP. Set a Live Leaderboard-Channel and the bot keeps one message there up to date, refreshed every few minutes when something changed. A Show my level button under it answers privately. Members can see their own or another member's level, XP and daily message and voice stats with /profile. User Display Mode sets whether names show as mention, username or nickname.

Can members keep old level roles, or only the newest?

Both work. By default level roles stack, so members keep the earlier reward roles. You set rewards per level with Level Reward roles, each a level and a role. Switch on Only keep highest Level-Role and the bot removes the earlier reward roles when a member reaches the next one. The bot needs the Manage Roles permission, and its own role must sit above the reward roles.

Can inactive members lose XP?

Yes, if you switch it on. Enable inactivity decay? is off by default. When it is on, members who earned no XP for a while slowly lose XP and levels, and their reward roles are updated to match. You set a grace period, how often a decay step happens, the size of a step (percent of XP, fixed XP or whole levels), a lowest level that decay never goes below, and roles that are exempt.

Give your regulars something to show for it.

Switch leveling on in the SCNX dashboard, set the XP rates and tie the first role to a level.