DogMate by KalisPro

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.

DogMate level card from /rank
The level card from /rank.

Step by step

  1. Turn on levels. In the dashboard open Levels and switch them on.
  2. 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.
  3. Add rewards. Roles for reaching a level, and roles after a number of days on the server. You can also do it with commands:
    /xp levelrole level:10 role:@Regular
    /xp tenurerole days:30 role_name:Veteran
    With role_name the bot creates the role for you.
  4. Check it. /rank shows your level card and /leaderboard the 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:

Time in voice is shown on the /rank card and on the /leaderboard.

Admin tools

Tenure roles are checked every hour. /rank is visible only to you; with public:True everyone sees it.

Messages fill the XP bar, then a level-up and the /rank card.
DogMate leaderboard from /leaderboard
The ten most active members in /leaderboard.
Voice XP settings in the DogMate dashboard
Voice XP and its anti-farming rules in the dashboard (sample data).

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.