From 939d42763c38d0e8bc429d83d6ccd6dee48c475d Mon Sep 17 00:00:00 2001 From: Rian8337 <52914632+Rian8337@users.noreply.github.com> Date: Sat, 16 Nov 2024 20:43:28 +0800 Subject: [PATCH] Remove unused `leaderboard-dpp` subcommand --- .../leaderboard/leaderboard.ts | 44 +------------------ 1 file changed, 2 insertions(+), 42 deletions(-) diff --git a/src/interactions/commands/osu! and osu!droid/leaderboard/leaderboard.ts b/src/interactions/commands/osu! and osu!droid/leaderboard/leaderboard.ts index 7d062fbbe..2ca9b923b 100644 --- a/src/interactions/commands/osu! and osu!droid/leaderboard/leaderboard.ts +++ b/src/interactions/commands/osu! and osu!droid/leaderboard/leaderboard.ts @@ -32,25 +32,6 @@ export const config: SlashCommand["config"] = { }, ], }, - { - name: "dpp", - type: ApplicationCommandOptionType.Subcommand, - description: "View the droid pp (dpp) live leaderboard.", - options: [ - { - name: "page", - type: ApplicationCommandOptionType.Integer, - description: "The page of the leaderboard. Defaults to 1.", - minValue: 1, - }, - { - name: "clan", - type: ApplicationCommandOptionType.String, - description: "The clan name to view the leaderboard from.", - maxLength: 20, - }, - ], - }, { name: "global", type: ApplicationCommandOptionType.Subcommand, @@ -87,29 +68,8 @@ export const config: SlashCommand["config"] = { ], example: [ { - command: "leaderboard dpp", - description: "will view the droid pp leaderboard at page 1.", - }, - { - command: "leaderboard ranked", - arguments: [ - { - name: "page", - value: 3, - }, - ], - description: "will view the ranked score leaderboard at page 3.", - }, - { - command: "leaderboard dpp", - arguments: [ - { - name: "clan", - value: "Sunda Empire", - }, - ], - description: - 'will view the ranked score leaderboard at page 1 for the "Sunda Empire" clan.', + command: "leaderboard global", + description: "will view the global game leaderboard.", }, ], cooldown: 20,