XP levels and a leaderboard on Discord
DogMate gives members XP for chatting and for talking in voice channels, levels them up and shows a rank card and a leaderboard. You can reward levels and time on the server with roles that the bot hands out by itself.

Step by step
- Turn on levels. In the dashboard open Levels and switch them on.
- Choose the announcement. A level-up can be posted in the same channel, in a channel you pick, sent by DM or turned off, with or without a level card.
- Add rewards. Roles for reaching a level, and roles after a number of days on the server. You can also do it with commands:
With/xp levelrole level:10 role:@Regular /xp tenurerole days:30 role_name:Veteranrole_namethe bot creates the role for you. - Check it.
/rankshows your level card and/leaderboardthe ten most active members.
Fair XP
A message gives a random amount of XP from a range you set (15-25 by default), at most once per cooldown: every message, 15, 30, 60 (default), 120 or 300 seconds. Messages shorter than the minimum length and the same message twice in a row give nothing, so spamming does not pay. You can exclude channels such as #bot-commands from XP.
A leaderboard that updates itself
In Leaderboard channel pick a channel: the bot posts a top 10 graphic there right after saving and refreshes it every 15, 30 or 60 minutes when the ranking changes. In that channel /leaderboard replaces the old graphic with a new one at the bottom; in other channels the command points to it privately. You can also limit how often anyone may post the leaderboard again.
XP in voice channels
Turn on Voice XP in the Levels section to give a few XP per minute of real conversation (2-4 by default). Every minute the bot checks who is really talking. To stop farming, there is no XP:
- in the server's AFK channel and in channels you exclude,
- when deafened, and optionally with a muted mic,
- when there are fewer people listening than you set (alone in a channel gives nothing),
- above the daily limit (1, 2, 3 or 4 hours, 3 by default, or no limit),
- optionally for people who wrote nothing in the chat in the last 24 hours,
- for accounts younger than 7 days or members who joined less than a day ago.
Time in voice is shown on the /rank card and on the /leaderboard.
Admin tools
/xp addadds XP, or removes it with a negative amount,/xp resetresets one member's XP,/xp removeroleremoves a role from the rewards,- Reset everyone's XP in the dashboard, at the bottom of Levels. It can't be undone.
Tenure roles are checked every hour. /rank is visible only to you; with public:True everyone sees it.


Common problems
Nobody gets XP for short messages
That is on purpose. Message length is checked only when the bot has the Message Content intent; the text itself is never stored.
Level roles are not given
Drag the DogMate role above the reward roles in your server settings.