update types

This commit is contained in:
ITOH
2021-03-07 15:45:53 +01:00
parent b539d5dd25
commit 30470d8551
+6 -6
View File
@@ -237,20 +237,20 @@ export interface EditSlashResponseOptions extends SlashCommandCallbackData {
export interface UpsertSlashCommandOptions {
/** 3-32 character command name */
name: string;
name?: string;
/** 1-100 character description */
description: string;
description?: string;
/** The parameters for the command */
options?: SlashCommandOption[];
options?: SlashCommandOption[] | null;
}
export interface UpsertSlashCommandsOptions {
/** The id of the command */
id: string;
/** 3-32 character command name */
name: string;
name?: string;
/** 1-100 character description */
description: string;
description?: string;
/** The parameters for the command */
options?: SlashCommandOption[];
options?: SlashCommandOption[] | null;
}