Levels

Members earn XP for messages, voice time and reactions, level up and get roles automatically, with rank cards, multipliers, XP events, daily streaks, weekly or monthly winners, prestige, inactivity decay and imports from other bots.

Levels rewards the members who take part. They earn experience points (XP) for sending messages, spending time in voice channels, adding reactions and receiving them. As their XP grows they level up and automatically get the roles you assign to each level.

On top of that you can design a rank card, boost XP with multipliers and double-XP events, reward daily streaks, crown the winners of each week or month, let your top members prestige, make inactive members slowly lose XP, publish a public leaderboard page, and import your members' levels from MEE6, Lurkr or any other bot.

How it works

  • Every message earns a random amount of XP between a minimum and a maximum, at most once per cooldown (60 seconds by default), so spam isn't the fastest way to level up.
  • Every minute in voice earns XP, except in the AFK channel, while deafened, while muted by a moderator, or when alone (by default).
  • Reactions earn XP for the person who adds them (to someone else's message) and the person who receives them.
  • The total XP needed for each level follows the difficulty curve. Normal: level 1 needs 100 XP, level 10 about 3,160 XP, level 50 about 35,400 XP.
  • When a member reaches a level with a role, DotBot gives it. With role stacking enabled, they receive every matching role. With stacking disabled, they keep the highest matching level role.
  • XP never expires on its own, unless you turn on inactivity decay.

Note

Levels is separate from Ranking, which gives roles to the Top members by messages, voice or reactions over a period. A member can have both.

Quick start

  1. Turn on Levels and open Levels → Settings.
  2. Pick a difficulty: Normal works for most servers.
  3. In Level roles, add roles for the levels you want, like level 5 → @Active, level 10 → @Regular. Ten or more levels with roles keeps members motivated. Roles that can manage the server (Administrator, Manage Server, Manage Roles, Ban Members and similar) can't be chosen as level, prestige or leaderboard rewards. Roles with moderation permissions (Timeout Members, Manage Messages and similar) can only be chosen by someone with full access to the dashboard.
  4. Exclude your staff roles and bot channels in Exclusions.
  5. Choose where level-up messages go.
  6. Make sure DotBot's role is above every level role in Server Settings → Roles.

Settings

Exclusions

SettingWhat it does
Excluded rolesMembers with any of these roles don't earn XP, for example admins and moderators. Up to 50.
Excluded channelsNo XP for messages, voice or reactions in these text channels, voice channels or categories. Threads follow their channel's rule. Up to 200.

Experience

The difficulty buttons apply recommended values; you can then fine-tune each one.

DifficultyCurveMessage XPCooldownVoice / minReaction given / received
NormalBalanced; the first levels come quickly15–2560 s52 / 3
HardEach level needs considerably more activity10–1560 s31 / 2
HardcoreVery few reach the high levels5–890 s21 / 1
SettingWhat it does
XP per message (min / max)Each message earns a random amount between them. Use the same value for a fixed amount.
Cooldown between messagesAfter earning XP for a message, the next ones don't count until this time passes (up to 1 hour).
XP per minute in voiceFollowing the rules in Voice.
XP per reaction givenFor adding a reaction to someone else's message. Each message counts once per person, and at most one reaction every 15 seconds earns XP.
XP per reaction receivedFor each reaction another person adds to your message (at most once every 15 seconds from the same person, and only for that person's first 20 reactions each minute).
Minimum message lengthShorter messages (not counting mentions and custom emojis) don't earn XP. Messages with attachments or stickers always count. 0 = no minimum.

The curve preview shows the total XP for each level, and how many messages or how much voice time it would take.

Voice

No voice XP is earned in the AFK channel, while deafened, or while muted by a moderator. Partial minutes carry over to the next session.

SettingWhat it does
Members who mute their own mic still earn XPOff by default (muting yourself counts as AFK). Turn it on for servers where many people listen without talking: streams, music, study rooms.
Don't give XP to members alone in voiceOn by default. Voice XP needs enough active people (not deafened, not bots) in the channel.
Active people needed in the channel2 by default (up to 10). Raise it in big servers where pairs of alt accounts farm XP.

Level-up messages

SettingWhat it does
Announce level-upsTurn it off and levels and roles keep working without notices.
Where to send itIn the channel where the activity happened (default: the message's channel, the voice channel's chat or the reaction's channel), in a specific channel, or by direct message.
Level-up messageUsed when the new level doesn't give a role.
Level-up message with a new roleUsed when it does.
Attach the rank cardThe message includes the member's rank card with their new level.

Variables: {user}, {level}, {role}, {xp} and {server}. Members can turn off their own level-up pings and DMs with /levelup-notify.

Messages for special levels: a different message when someone reaches certain levels (10, 25, 50…), replacing the normal one at that level. Up to 100. If someone jumps several levels, the message of the highest special level reached is used.

Commands & data

  • /level and /leaderboard commands: let any member see their rank card, progress and the server's leaderboard. Staff can always use /levels-admin.
  • Reset XP: resets every member's XP to zero and removes level roles. Can't be undone.

Level roles

Each row gives a role at a level (up to 200 rows, levels up to 500).

SettingWhat it does
Roles by levelFor example level 5 → @Active, level 10 → @Regular.
Keep roles from previous levelsOn (default): members keep every role they've reached. Off: they only keep the highest level's role.

When you change these roles, the difficulty or "Keep roles", every member's roles update automatically. DotBot's role must be above these roles.

Bonuses & events

Role and channel multipliers

SettingWhat it does
Role multipliersFor example ×1.5 for Server Boosters or ×2 for supporters. If a member has several, the highest counts. Up to 25.
Channel multipliersMore XP in some channels (events, debates) and less in others (memes, bots). A category applies to all its channels; the most specific rule wins. Up to 50.

Multipliers go from ×0 (no XP) to ×5 and combine: role × channel × event. They apply to messages, voice and reactions.

XP event

Multiply all XP for a while, for a double-XP weekend, an anniversary or a launch. Choose a multiplier (×1 to ×5, ×2 by default) and when it ends, or click Start for N h. /level and /leaderboard show it while it's active.

Daily streaks

Reward members who come back every day with bonus XP on their first activity of the day, growing with each day in a row. A day counts when the member earns XP at least once (UTC day); missing a day resets the streak.

SettingDefaultWhat it does
Give a daily bonusOffStreaks are always tracked and shown in /level; this adds the bonus.
Bonus XP per day20The bonus on the first day.
Extra XP per streak day5Added for each day in a row.
Streak days that add XP10After this, the bonus stops growing.

The streak bonus isn't affected by multipliers.

Weekly or monthly leaderboard

Celebrate the most active members of each week or month: the members who earned the most XP in the period (not total XP).

SettingWhat it does
Announce winnersOff, every week (Monday) or every month (the 1st). Periods end at 00:00 UTC.
Announcement channelEmpty: no announcement (only the role, if any).
Winners announced1 to 10 (3 by default).
Announcement textVariables: {period}, {number}, {server}. The winners list is added below.
Winners roleGiven to the top members (1 to 10) until the next period, then moved to the new winners.

If the announcement can't be posted or the role can't be given (a missing permission, for example), DotBot keeps trying for 7 days. Each one is delivered on its own: a role DotBot can't give doesn't hold back the announcement.

Past winners shows the Top 3 of each period; the full Top 10 is kept.

Rank card

The image members see with /level: their avatar, rank, level and progress bar, in your server's colors. Turn it off and /level replies with text and a progress bar.

  • Themes: Violet, Ocean, Forest, Sunset, Rose and Gold.
  • Colors: accent (bar, ring and numbers), background and text.
  • Background image: recommended 1000×300 px, cropped to fill, with its opacity and an option to darken it so text stays readable.
  • Generate preview shows it with your avatar.

The card uses the member's server avatar and nickname.

Prestige & inactivity

Prestige

Members who reach a high level can start over from level 0 with /prestige, in exchange for a badge and optionally a role and extra XP. They always confirm first.

SettingDefaultWhat it does
Allow prestigeOffAdds the /prestige command.
Level needed50Members can prestige from this level.
Maximum prestiges10Up to 100.
Extra XP per prestige (%)0For example 10: +10% at prestige 1, +20% at prestige 2…
Keep level rolesOnAfter prestiging, members keep the level roles up to the level needed. Off: they lose them and earn them again.
Announcement—Posted where the member used /prestige. Variables: {user}, {prestige}, {server}.
Prestige roles—A role for each prestige reached (up to 25). Members keep only the role of their highest prestige.

In the leaderboard, members with more prestiges go first; with the same prestige, the one with more XP.

Inactivity

Members who stop earning XP slowly lose it, so the leaderboard and level roles reflect who's active now.

SettingDefaultWhat it does
Lose XP when inactiveOffOnce a day, members who haven't earned XP for a while lose part of it. Level roles they no longer reach are removed.
Days without XP before losing it143 to 365 days.
XP lost per day (%)21% to 50%.
Never below level0They can't drop below this level.

After saving, nobody loses XP during the first days. Members who left the server aren't affected.

Members who leave

Reset their XP when they leave: off by default, so members who leave keep their XP and get it back if they return (they don't appear in leaderboards while away). On: their level, prestige, streak and history are deleted when they leave.

Leaderboard

Every member's level and XP, for all time, this month or this week (weeks start on Monday and months on the 1st, at 00:00 UTC).

Publish the leaderboard on the web: a page anyone can open without logging in, with the full leaderboard and your level rewards. /leaderboard gets a Full leaderboard button with the link.

Statistics

XP earned, active members and XP per active member for the period; XP per day (hover a bar to see how many members were active); the most active members; the longest current streaks; and members by level. Built from the daily XP history; manual changes and imports aren't included.

Import

Bring your members' levels from another bot so nobody starts from zero.

SourceHow it works
MEE6Reads this server's public MEE6 leaderboard.
LurkrReads this server's public Lurkr leaderboard.
CSV fileAny other bot: a file with one member per line, their Discord user ID and a number (XP or level), separated by commas, semicolons or tabs. Up to 100,000 rows.

The leaderboard must be public in that bot's settings. Nothing changes in the other bot.

SettingWhat it does
KeepTheir level (recommended): each member gets the same level and progress, converted to this server's difficulty. Their XP: the number is copied as is, so levels may change.
If the member already has XP hereKeep the higher one (safe to run several times), Replace it, or Add both.

The preview shows current XP, imported XP, and the projected balance and level for a sample of members. Changing the source or merge mode requires a new preview. Only the latest preview of the server is kept, so a new one replaces the previous one. Confirming uses the captured rows. Activity before confirmation can change the final balance. The panel tracks the import through completion, and role updates run afterward. You can start up to three imports per hour.

Commands

CommandWhat it does
/level [user:]Shows your rank card, level and XP, or another member's.
/leaderboard [period:] [page:]Members with the most XP: all time, this month or this week.
/levelup-notify enabled:Turns your level-up messages and pings on or off.
/prestigeGoes back to level 0 and earns a prestige badge.
/levels-admin give user: xp:Gives XP to a member.
/levels-admin remove user: xp:Takes XP away from a member.
/levels-admin set-xp user: xp:Sets a member's total XP.
/levels-admin set-level user: level:Sets a member's level.
/levels-admin set-prestige user: prestige:Sets how many prestiges a member has.
/levels-admin reset user:Resets a member's XP to zero.

/levels-admin needs the Manage Server permission and stays available even if /level and /leaderboard are off.

Limits

LimitValue
Highest level500
Level roles200
Role multipliers / channel multipliers25 / 50
Multiplier range×0 to ×5
Special level messages100
Prestige roles25
Excluded roles / channels50 / 200
Import file100,000 rows, 3 imports an hour

Permissions DotBot needs

Manage Roles, with DotBot's role above every level, prestige and winners role. View Channel and Send Messages where level-ups are announced, and Attach Files for rank cards.

FAQ

How much XP does a message give?

On Normal, a random amount between 15 and 25 XP, at most once every 60 seconds. Messages sent during the cooldown don't earn XP.

Why isn't someone earning voice XP?

They may be alone in the channel, deafened, muted by a moderator, in the AFK channel, in an excluded channel, or have an excluded role. With default settings, muting your own mic also stops voice XP.

Why didn't a member get their level role?

DotBot's role must be above the level role, and DotBot needs Manage Roles. Also check that the role isn't managed by an integration.

Can I give or remove XP by hand?

Yes, with /levels-admin give, remove, set-xp, set-level or reset. You need the Manage Server permission.

Can I bring levels from MEE6?

Yes. In Import, choose MEE6. The server's MEE6 leaderboard must be public. Choose Their level to keep everyone at the same level they had.

How do I stop people from farming XP?

Keep the message cooldown, set a minimum message length, keep Don't give XP to members alone in voice on and raise the active people needed, and use ×0 multipliers or exclusions for spam or bot channels.

What is prestige?

Members who reach the level you choose can reset to level 0 with /prestige and earn a prestige badge, and optionally a role and a permanent XP bonus. It gives your most active members a new goal.

Do members lose XP if they leave?

Not by default. Their XP is kept and they get it back if they return. Turn on Reset their XP when they leave to delete it instead.

Can members turn off level-up pings?

Yes. /levelup-notify enabled:False stops their DMs and pings. In a channel the message is still posted, without mentioning them.

Is there a web leaderboard?

Yes. Turn on Publish the leaderboard on the web in Leaderboard. Anyone can open it without logging in.