mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-16 19:28:17 +00:00
update types
This commit is contained in:
@@ -237,20 +237,20 @@ export interface EditSlashResponseOptions extends SlashCommandCallbackData {
|
|||||||
|
|
||||||
export interface UpsertSlashCommandOptions {
|
export interface UpsertSlashCommandOptions {
|
||||||
/** 3-32 character command name */
|
/** 3-32 character command name */
|
||||||
name: string;
|
name?: string;
|
||||||
/** 1-100 character description */
|
/** 1-100 character description */
|
||||||
description: string;
|
description?: string;
|
||||||
/** The parameters for the command */
|
/** The parameters for the command */
|
||||||
options?: SlashCommandOption[];
|
options?: SlashCommandOption[] | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface UpsertSlashCommandsOptions {
|
export interface UpsertSlashCommandsOptions {
|
||||||
/** The id of the command */
|
/** The id of the command */
|
||||||
id: string;
|
id: string;
|
||||||
/** 3-32 character command name */
|
/** 3-32 character command name */
|
||||||
name: string;
|
name?: string;
|
||||||
/** 1-100 character description */
|
/** 1-100 character description */
|
||||||
description: string;
|
description?: string;
|
||||||
/** The parameters for the command */
|
/** The parameters for the command */
|
||||||
options?: SlashCommandOption[];
|
options?: SlashCommandOption[] | null;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user