#Overview
The levels command group (aliases level, lvl) tracks XP from chat activity and awards levels, with optional role rewards at chosen levels. Configuration commands require Manage Server; rank and the leaderboard are open to everyone.
#Setup
| Command | Description |
|---|
| levels unlock | Enable XP tracking for the server. |
| levels lock | Disable XP tracking. |
levels ignore <channel/role> | Toggle whether a channel or role is ignored from XP gain. |
| levels list | List every ignored channel and role. |
levels setrate <multiplier> | Set an XP multiplier between 0.1x and 10x. |
#Role Rewards
| Command | Description |
|---|
levels add <role> <level> | Award a role automatically when a member reaches this level. |
levels remove <level> | Remove the reward configured for a level. |
levels stackroles <on/off> | Keep every earned reward role, or replace lower ones as a member levels up. |
#Level-Up Messages
| Command | Description |
|---|
levels message <text> | Set the message posted when a member levels up. |
levels messagemode <pm/context/none/#channel> | Send level-up messages by DM, in the channel the message was sent, nowhere, or in a fixed channel. |
#Viewing Progress
| Command | Description |
|---|
rank [user] | Alias: xp. Show a member's level and XP card. |
| levels leaderboard | Alias: lb. Show the top-ranked members in the server. |