From be59576c0d35c1fe4fc302c2ae75534debbbb92f Mon Sep 17 00:00:00 2001 From: Lio Young Date: Fri, 9 Apr 2021 15:18:03 +0200 Subject: [PATCH] optional vars on command --- src/utils/types.ts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/utils/types.ts b/src/utils/types.ts index 587ce77..027b0f6 100644 --- a/src/utils/types.ts +++ b/src/utils/types.ts @@ -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 = {