From 4e00c31545362ea6a06ebfdc4c6463eadd588c7b Mon Sep 17 00:00:00 2001 From: ITOH <72305210+itohatweb@users.noreply.github.com> Date: Sun, 7 Mar 2021 16:00:50 +0100 Subject: [PATCH] add extends --- src/types/webhook.ts | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/types/webhook.ts b/src/types/webhook.ts index 573b0117a..754d682c3 100644 --- a/src/types/webhook.ts +++ b/src/types/webhook.ts @@ -244,13 +244,7 @@ export interface UpsertSlashCommandOptions { options?: SlashCommandOption[] | null; } -export interface UpsertSlashCommandsOptions { +export interface UpsertSlashCommandsOptions extends UpsertSlashCommandOptions { /** The id of the command */ id: string; - /** 3-32 character command name */ - name?: string; - /** 1-100 character description */ - description?: string; - /** The parameters for the command */ - options?: SlashCommandOption[] | null; }