Setting Up Server XP/Leveling
Reward your users activity with levels, role rewards and more!

Why Would You Need This?

Server Leveling is a super easy and effective way to ensure activity and growth in your Discord server. By setting out goals of activity with rewards, users will be enticed to keep the chat going to reach this goal you've put out for them. This goal can be anything from something as simple and inexpensive as a role reward that grants the user a special permission like the ability to send and embed images, to rewarding the topmost active users on your Discord with Nitro! Pepe Manager offers a free and easy-to-use XP and Leveling system so you can keep user retention high, and costs low!

Video Tutorial

If you are averse to long bouts of reading, we have created a video tutorial that should be easy to follow along:


Toggling Levels

By default, Pepe Manager will not have leveling enabled. Any user activity that may have occurred before you enabled leveling has not been counted. You need to enable it to get started by typing the following command:
p!config toggle levels

Adding Allowed Channels

You can now add specific channels that users can gain XP in. The channels that you set will be the only channels in the server where users can gain XP. You can add multiple channels with the same command (By including a space in between channels) or you can also add channels one after another. To add channels you can type the following command:
Where < > implies a required parameter
p!config set xpChannels <Channel/ChannelID/ChannelMention>
You can set the channel by writing the name of the channel, using the channel ID or by simply mentioning the channel. If you write an incomplete channel name the bot will look for the next closest one.

And That's It!

If you only want the very basic leveling setup, you are done now! If you want to go more in-depth and learn about many more features that you can use, carry on! ALL STEPS BEYOND THIS POINT ARE OPTIONAL

Adding No XP Roles

You can now set specific roles to not gain XP, regardless of whether or not the user is in the appropriate leveling channel or not. It is also not important if the user has another role on top or below the role you set to not gain XP. This feature is quite useful if you do not want your staff to gain XP, or to make sure that Muted users do not gain XP, etc. To add a role you can type the following command:
Where < > implies a required parameter
p!config set noXpRoles <Role/RoleID/RoleMention>
You can set the role by writing the name of the role, using the role ID or by simply mentioning the role. If you write an incomplete role name the bot will look for the next closest one, this is useful if you have system emojis as part of your role name.

Adding the Top XP Role

You can also reward a user for having the most XP by letting the bot assign a Top XP role. This role is given out at 00:00 UTC, and is only ever given to one person on the server. If a user had the Top XP role previously, it will be taken off of them. This feature is a quick and easy way to give users a long-term goal to work towards. It also helps if the Top XP role is hoisted quite high on the server list, and is given a prominent colour. To set the Top XP role, you can type the following command:
Where < > implies a required parameter
p!config set topXpRole <Role/RoleID/RoleMention>
It is highly suggested that you also set the Top XP role as a No XP role aswell. Not doing so might lead to the situation that only one person ever recieves the Top XP role since during their day on the Top they keep gaining XP. By letting them not gain XP for a day gives other users time to catch up.

Customizing the Level-Up Message

If you find the current Level-Up message to not suit your server style, or you simply want to spice it up a little, you can completely customize it! We currently only support raw text messages (Not Embeds) To set the Level-Up message you can type the following command:
Where < > implies a required parameter
p!config set xpMessage <Message>
There are several tags you can include in your Level-Up message. These parameters will be replaced with the appropriate information when the Level-Up message is sent. You must include the {} brackets in your message for the tags to show up!
User Mention (@User)
User Tag (User#1234)
Username (User)
User Discriminator (1234)
User ID (99787644430475264)
Server Name (My Cool Server)
Server ID (493351982887862283)
Level Reached (5)

Where to send the Level-Up Message

By default Pepe Manager will simply send the Level-Up message in the same channel where the user who Leveled-Up last spoke in, but this can sometimes be intrusive and can disrupt normal conversation. Not to worry though, as you can set where Pepe Manager will send the Level-Up message. To set this up, simply type the following command:
Where < > implies a required parameter
p!config set xpResponseType <Type>
There are several response types you can choose one. You can only choose one at a time, and the Level-Up message you may have set up earlier will be carried over to each response type.
Where Will it be Sent?
Response Type
In the same channel as the user
In the user's direct messages
In a specific channel all the time
Nowhere; all messages are off

When to send the Level-Up Message

By default, Pepe Manager will send the Level-Up message after every level increase no matter what. However, you can also configure the bot to send the message at different times and for different reasons/levels.
Where < > implies a required parameter
This first command lets you set exactly which levels should be announced and which shouldn't. You can include as many levels as you want, within reason. Only these levels will then be announced, regardless of where the level-up message will be sent.
p!config set xpAnnounceLevels <...Levels>
The next command lets you set from what level onwards you want the levels to be announced. This means that any and all levels below this threshold won't be announced, but all of them including the minimum level will be announced.
p!config set xpAnnounceMinimumLevel <Level>
The next command lets you set if you want levels to only be announced if they are a part of a multiple of a specific number. For example if you only want to announce the levels 5, 10, 15 and so on, you would set this command to a multiple of 5.
p!config set xpAnnounceMultipleOf <Multiple>
Lastly, you can also additionally toggle whether or not you want to announce only the levels that also have an XP role attached to them.
p!config toggle xpAnnounceOnlyXpRoles
The following table shows you the hierarchy of all of these settings and when they go into effect if you've set multiple of them. Please refer to this when you're troubleshooting why a certain level isn't being announced.
Level Announcement Setting
Hierarchy of Announcement
Minimum Level
Manually Set Levels
Only XP Roles
Multiple Of
By this table, if you have manually set levels 1, 2 & 3 to have an announcement, but also set a multiple of 5, the only level that would be left out with be level 4.

Adding Role Rewards

The main meat of Leveling: the role rewards. You can set up roles to be given out to users when they reach a specific Level. This can be used to simply indicate the users level with a role, give out special colours to users as they gain higher levels, give out permissions that can be earned through activity, and so much more. With the free version of Pepe Manager you can set up to 2 roles to be given out on the same Level, however overall there is no limit to how many roles you can set up. The premium limit is 10 roles for the same Level.
Where < > implies a required parameter
p!config set xpRoles <Level> <Role/RoleID/RoleMention>
Please note that if your role contains multiple words, such as the role Cool Person, you must either use the Role ID or Mention, or only write the word Cool. The bot will see the words Cool and Person as separate roles.

Automatically Resetting Levels

Automatically resetting levels can be very useful to keep your server nice and organized, and to punish those you ban even more! When the condition you set has been met, Pepe Manager will automatically the affected users level data (If they had any) without questions. Kicking a user has the same effect as leaving though, so please be careful!
Where < > implies a required parameter
p!config set autoResetLevels <Type>
There are several response types you can choose one. You can only choose one at a time.
What Will Trigger the Reset?
Response Type
When the user leaves the server for whatever reason
When the user is banned for whatever reason
When the user leaves or when the user is banned

Toggling Role Stacking

Now that you've set up some role rewards, you can choose whether or not the bot will stack the roles or not. Stacking means that each additional role reward will simply be added to the users already existing roles. Non-Stacking means that any previous role reward roles will be removed when the user gains a new role. This does not affect roles that are not specifically marked as rewards. By default, stacking is turned on.
p!config toggle stackXpRoles

Toggling Leveling in Threads

Pepe Manager can see every message in every thread, and enabling this can mean a lot more diversity and a lot less clutter for different topics in your server, and yet still allowing you to reward active chatters with XP.
Toggling this will not enable XP on all threads, it will enable XP gain on threads that are part of already enabled XP channels.
By default, leveling in threads is turned off.
p!config toggle xpInThreads

Final Words

It's really easy to set up an activity tracking system, but as you want to add more and more features, and reward your users for the loytalty and acitvity it becomes more and more complex. If you are new to bots don't be scared of all of the complicated commands and command structures, new words that bots use to describe what they're doing, etc. If you need any more assistance with Pepe Manager, check out the rest of this documentation or join our support server to talk to an actual human!
Last modified 22d ago