Skip to content

09 Leveling and XP

RK Ranjith edited this page Nov 26, 2026 · 2 revisions

๐Ÿ“ˆ Module 9: Chat & Voice XP, Leaderboards & Level Roles

Reward active community members automatically! Every message a member sends earns 15โ€“25 random XP (60-second cooldown), and hanging out in active voice channels earns 10โ€“20 XP per minute! Reaching new levels posts a Level Up celebration card and unlocks automatic Level Role Rewards.

๐Ÿงฎ How Leveling Works

  • Chat XP: 15โ€“25 XP per message (60s cooldown).
  • Voice Activity XP: 10โ€“20 XP every 60 seconds while in a voice channel with at least 2 non-bot, non-deafened members (AFK voice channels and solo/deafened accounts are automatically excluded to prevent AFK farming).
  • Every level requires Current Level ร— 100 XP:
    • Level 1 โ†’ Level 2: 100 XP
    • Level 2 โ†’ Level 3: 200 XP
    • Level 5 โ†’ Level 6: 500 XP
  • Bots do not earn XP.

๐Ÿ“‘ Commands & Events in This Guide

  1. Automatic ๐ŸŽ‰ Level Up! Card
  2. /rank โ€” View your rank card and progress bar
  3. /leaderboard โ€” View the Top 10 server chatters
  4. /levelrole add โ€” Auto-award a role when reaching a level
  5. /levelrole list โ€” See all configured level role milestones
  6. /levelrole remove โ€” Delete a level milestone reward

๐ŸŽ‰ What Appears in Chat on Level Up

Whenever a member crosses the XP threshold in chat, RookieBot posts this card directly in the channel (and unlocks any role assigned to that level):

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ ๐Ÿค– RookieBot  [APP]  Today at 3:00 PM                        โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ ๐ŸŽ‰ Level Up!                                                โ”‚
โ”‚ Congratulations @Alex! You advanced to Level 5! ๐Ÿš€          โ”‚
โ”‚ ๐ŸŽ Role Reward Unlocked: @Active Member!                    โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

๐Ÿ“Š /rank

Shows a visual rank card with server rank (#1, #2, etc.), current level, XP toward next level, and an ASCII progress bar ([โ–“โ–“โ–“โ–“โ–“โ–‘โ–‘โ–‘โ–‘โ–‘] 50%).

1. Requirements & Overview

Property Value
Command Syntax /rank [member:<@user>]
Who Can Use It @everyone
Bot Needs Send Messages, Embed Links
Response Visibility Public Embed

2. Parameters

  • member (Optional): Inspect someone else's rank card, or leave blank for your own.

3. Exact Step-by-Step Process in Discord

  1. Type /rank.
  2. (Optional) Select a member.
  3. Press Enter.

4. Exact What You See in Discord

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ ๐Ÿค– RookieBot  [APP]  Today at 3:02 PM                        โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ ๐Ÿ“Š Rank Card โ€” Alex                                         โ”‚
โ”‚                                                             โ”‚
โ”‚ ๐Ÿ† Server Rank     โญ Level           โœจ XP Progress        โ”‚
โ”‚ #2                 Level 5            240 / 500 XP          โ”‚
โ”‚                                                             โ”‚
โ”‚ ๐Ÿ“ˆ Progress to Next Level                                   โ”‚
โ”‚ [โ–“โ–“โ–“โ–“โ–“โ–‘โ–‘โ–‘โ–‘โ–‘] 48%                                            โ”‚
โ”‚                                                             โ”‚
โ”‚ Requested by Alex                                           โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

๐Ÿ† /leaderboard

Displays the Top 10 most active members in the server ranked by Level and XP.

1. Requirements & Overview

Property Value
Command Syntax /leaderboard
Who Can Use It @everyone
Response Visibility Public Embed (or Ephemeral notice if nobody has XP yet)

2. Exact Step-by-Step Process in Discord

  1. Type /leaderboard in chat and press Enter.

3. Exact What You See in Discord

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ ๐Ÿค– RookieBot  [APP]  Today at 3:05 PM                        โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ ๐Ÿ† My Community Server โ€” XP Leaderboard                     โ”‚
โ”‚                                                             โ”‚
โ”‚ ๐Ÿฅ‡ @Sarah โ€” Level 12 (850 XP)                               โ”‚
โ”‚                                                             โ”‚
โ”‚ ๐Ÿฅˆ @Alex โ€” Level 5 (240 XP)                                 โ”‚
โ”‚                                                             โ”‚
โ”‚ ๐Ÿฅ‰ @Sam โ€” Level 4 (110 XP)                                  โ”‚
โ”‚                                                             โ”‚
โ”‚ #4 @Jordan โ€” Level 2 (95 XP)                                โ”‚
โ”‚                                                             โ”‚
โ”‚ Earn XP by chatting in the server!                          โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

(If no chat activity exists yet: ๐Ÿ“œ No activity recorded yet! Start chatting to earn XP and claim the top spot.)


๐ŸŽ /levelrole add

Links a Discord role to a specific level (1 to 100). Anyone who hits that level automatically receives the role.

1. Requirements & Overview

Property Value
Command Syntax /levelrole add level:<1-100> role:<@role>
Who Can Use It Members with Manage Roles permission
Bot Needs Manage Roles + higher role than the reward role
Response Visibility Public Embed

2. Parameters

  • level (Required): Target level (1 to 100).
  • role (Required): Role to reward automatically.

3. Exact Step-by-Step Process in Discord

  1. Type /levelrole add.
  2. Enter a number in level (e.g., 5).
  3. Pick a role (e.g., @Active Member).
  4. Press Enter.

4. Exact What You See in Discord

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ ๐Ÿค– RookieBot  [APP]  Today at 3:10 PM                        โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ ๐ŸŽ Level Reward Configured                                  โ”‚
โ”‚ Members will automatically receive @Active Member when they โ”‚
โ”‚ reach Level 5!                                              โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

5. Common Errors & Solutions

  • โŒ I cannot assign @Role because it is equal to or higher than my highest role. โ†’ Move RookieBot above @Role in Server Settings โ†’ Roles.

๐Ÿ“œ /levelrole list

Lists every level milestone role configured on the server.

1. Exact Step-by-Step Process in Discord

  1. Type /levelrole list and press Enter.

2. Exact What You See in Discord

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ ๐Ÿค– RookieBot  [APP]  Today at 3:12 PM                        โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ ๐ŸŽ Level Role Rewards (2)                                   โ”‚
โ”‚ โ€ข Level 5 โž” @Active Member                                  โ”‚
โ”‚ โ€ข Level 10 โž” @Server Veteran                                โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

(If none configured: โ„น๏ธ No level roles configured yet. Use /levelrole add.)


๐Ÿ—‘๏ธ /levelrole remove

Removes an existing level role milestone.

1. Exact Step-by-Step Process in Discord

  1. Type /levelrole remove.
  2. Enter the level number (e.g., 5) and press Enter.

2. Exact What You See in Discord

  • Success: โœ… Removed role reward for Level 5. (Only you can see this)
  • Not found: โŒ No role reward was found for Level 5. (Only you can see this)

Clone this wiki locally