/check-limit: rename to check-quota and change description
to match it to the new reality, limits are named quotas now description of an option previously was longer than 100 characters which discord api didn't like it
This commit is contained in:
parent
6a31473d22
commit
4729f7f563
1 changed files with 4 additions and 3 deletions
|
@ -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,
|
||||
}
|
||||
];
|
||||
|
Loading…
Reference in a new issue