add extends

This commit is contained in:
ITOH
2021-03-07 16:00:50 +01:00
parent bcfb6014ab
commit 4e00c31545

View File

@@ -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;
}