diff --git a/src/commands/check-limit.ts b/src/commands/check-quota.ts similarity index 91% rename from src/commands/check-limit.ts rename to src/commands/check-quota.ts index 14c0f58..3a2f5ef 100644 --- a/src/commands/check-limit.ts +++ b/src/commands/check-quota.ts @@ -4,13 +4,13 @@ import Command from "../command"; import { config } from "../index"; export default class MyLimit extends Command implements Command { - name = "check-limit"; - description = "Checks your limit and usage"; + name = "check-quota"; + description = "Checks your quota and usage"; type = ApplicationCommandType.ChatInput; options: APIApplicationCommandOption[] = [ { name: "recovery-for", - description: "Calculate the limit recovery time for given message count (default: amount required to use the bot again or 1)", + description: "Get the recovery time for given quota units count (default: until can use the bot or 1)", type: ApplicationCommandOptionType.Integer, required: false, }, @@ -18,6 +18,7 @@ export default class MyLimit extends Command implements Command { name: "ephemeral", description: "if true, only you can see the response (default true)", type: ApplicationCommandOptionType.Boolean, + required: false, } ];