Leaderboard01 Docs
Everything you need to set up, configure, and use Leaderboard01 in your Discord server.
Introduction
Leaderboard01 is a universal Discord leaderboard bot. Unlike bots that only track XP or economy, Leaderboard01 lets you create leaderboards for anything — you define the name, you add the scores.
Key highlights:
- Create unlimited leaderboards per server
- Full Vietnamese and English language support
- Custom emoji throughout the bot
- Modern slash commands with autocomplete
- Error IDs for easy support tracking
- SQLite database — fast and zero-config
Setup Guide
/lb lang and choose between Vietnamese or English. Default is Vietnamese./lb create name:fishing to create a leaderboard called "fishing"./lb add name:fishing user:@someone amount:10 to add points.Configuration
Leaderboard01 is configured via a .env file. Copy .env.example to .env and fill in your values.
Required Variables
Optional Variables
EMOJI_SUCCESS, EMOJI_ERROR, etc. are documented in the Custom Emoji section./lb create
Creates a new leaderboard in your server.
/lb view
Displays the top entries for a leaderboard.
/lb add
Adds points to a user on a leaderboard. If the user doesn't exist on the board yet, they are created with the given amount.
/lb set
Sets a user's score to an exact value, overwriting their current score.
/lb rank
Shows a user's current rank and score on a leaderboard.
/lb list
Lists all leaderboards in the current server.
/lb remove
Removes a user's entry from a leaderboard entirely. Their score is deleted.
/lb delete
Deletes an entire leaderboard and all its entries.
/lb lang
Sets the bot's language for your server.
vi — Tiếng Việt (default) | en — EnglishCustom Emoji
You can replace the default bot emoji with your own custom server emoji by adding them to your .env file.
Getting an Emoji ID
In Discord, type \:your_emoji_name: and send the message. Discord will show the raw emoji format like <:name:123456789>. Copy the full string including angle brackets.
Available Emoji Variables
Error Handling
When an unexpected error occurs, Leaderboard01 will reply with an ephemeral message containing a unique Error ID and a mention of the bot owner.
Example error message:
`Error ID: X7K2PQ`
Liên hệ @Owner và cung cấp Error ID để được hỗ trợ.
As the bot owner, you can find the corresponding error stack trace in your console logs by searching for [ERROR X7K2PQ].
OWNER_ID in your .env to your Discord user ID so the bot can mention you in error messages.Permissions
Leaderboard01 uses a simple permission model:
/lb view, /lb rank, /lb list/lb create and add/set/remove scores/lb delete/lb lang