optional vars on command

This commit is contained in:
Lio Young 2021-04-09 15:18:03 +02:00
parent 890e3686dd
commit be59576c0d
No known key found for this signature in database
GPG Key ID: 789795A11879E169
1 changed files with 8 additions and 8 deletions

View File

@ -24,14 +24,14 @@ export type Usage = {
export type Command = {
name: string;
description: string;
aliases: string[];
module: string;
cooldown: number;
guild: boolean;
dev: boolean;
nsfw: boolean;
AuthorPermissions: string;
hidden: boolean;
aliases?: string[];
module?: string;
cooldown?: number;
guild?: boolean;
dev?: boolean;
nsfw?: boolean;
AuthorPermissions?: string | string[];
hidden?: boolean;
}
export type Context = {