mirror of
https://github.com/discordjs/discord.js.git
synced 2026-06-15 19:08:20 +00:00
typings(ApplicationCommandData): make type field optional (#6405)
This commit is contained in:
Vendored
+1
-1
@@ -2936,7 +2936,7 @@ export interface MessageApplicationCommandData extends BaseApplicationCommandDat
|
|||||||
|
|
||||||
export interface ChatInputApplicationCommandData extends BaseApplicationCommandData {
|
export interface ChatInputApplicationCommandData extends BaseApplicationCommandData {
|
||||||
description: string;
|
description: string;
|
||||||
type: 'CHAT_INPUT' | ApplicationCommandTypes.CHAT_INPUT;
|
type?: 'CHAT_INPUT' | ApplicationCommandTypes.CHAT_INPUT;
|
||||||
options?: ApplicationCommandOptionData[];
|
options?: ApplicationCommandOptionData[];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user