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 = { 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 = {