mirror of
https://github.com/thaldrin/thaldrin.git
synced 2024-08-14 23:57:21 +00:00
optional vars on command
This commit is contained in:
parent
890e3686dd
commit
be59576c0d
1 changed files with 8 additions and 8 deletions
|
@ -24,14 +24,14 @@ export type Usage = {
|
||||||
export type Command = {
|
export type Command = {
|
||||||
name: string;
|
name: string;
|
||||||
description: string;
|
description: string;
|
||||||
aliases: string[];
|
aliases?: string[];
|
||||||
module: string;
|
module?: string;
|
||||||
cooldown: number;
|
cooldown?: number;
|
||||||
guild: boolean;
|
guild?: boolean;
|
||||||
dev: boolean;
|
dev?: boolean;
|
||||||
nsfw: boolean;
|
nsfw?: boolean;
|
||||||
AuthorPermissions: string;
|
AuthorPermissions?: string | string[];
|
||||||
hidden: boolean;
|
hidden?: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
export type Context = {
|
export type Context = {
|
||||||
|
|
Loading…
Reference in a new issue