From 4ea749b0f91d9c09b03c646ebbbee6801fd069e5 Mon Sep 17 00:00:00 2001 From: Catboy Date: Sun, 29 Aug 2021 14:50:44 -0500 Subject: [PATCH] ts hotfix --- index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.d.ts b/index.d.ts index b956142fb..efa88d50d 100644 --- a/index.d.ts +++ b/index.d.ts @@ -114,11 +114,11 @@ declare namespace Eris { type ApplicationCommandOptions = ApplicationCommandOptionsSubCommand | ApplicationCommandOptionsSubCommandGroup | ApplicationCommandOptionsWithValue; type ApplicationCommandOptionsWithValue = ApplicationCommandOptionsString | ApplicationCommandOptionsInteger | ApplicationCommandOptionsBoolean | ApplicationCommandOptionsUser | ApplicationCommandOptionsChannel | ApplicationCommandOptionsRole | ApplicationCommandOptionsMentionable | ApplicationCommandOptionsNumber; interface ApplicationCommandOptionsSubCommand { - type: Constants["ApplicationCommandOptionTypes"]["SUB_COMMAND_GROUP"]; + type: Constants["ApplicationCommandOptionTypes"]["SUB_COMMAND"]; name: string; description: string; required?: boolean; - options: ApplicationCommandOptionsWithValue[]; + options?: ApplicationCommandOptionsWithValue[]; } interface ApplicationCommandOptionsSubCommandGroup { type: Constants["ApplicationCommandOptionTypes"]["SUB_COMMAND_GROUP"];