%lb synonym

This commit is contained in:
2024-12-09 15:30:42 -05:00
parent 3b7f452301
commit 2053ebb79c

View File

@@ -4,7 +4,7 @@ use poise::serenity_prelude::UserId;
use sqlx::Row; use sqlx::Row;
/// Display a leaderboard of the top 10 wealthiest players /// Display a leaderboard of the top 10 wealthiest players
#[poise::command(slash_command, prefix_command)] #[poise::command(slash_command, prefix_command, aliases("lb"))]
pub async fn leaderboard(ctx: Context<'_>) -> Result<(), Error> { pub async fn leaderboard(ctx: Context<'_>) -> Result<(), Error> {
let db = &ctx.data().database; let db = &ctx.data().database;