diff --git a/typings/index.d.ts b/typings/index.d.ts index 6ca1e7e65..8408dfbd6 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -3217,22 +3217,22 @@ export interface ApplicationCommandChoicesOption extends BaseApplicationCommandO choices?: ApplicationCommandOptionChoice[]; } -export interface ApplicationCommandSubGroupData extends BaseApplicationCommandOptionsData { +export interface ApplicationCommandSubGroupData extends Omit { type: 'SUB_COMMAND_GROUP' | ApplicationCommandOptionTypes.SUB_COMMAND_GROUP; options?: ApplicationCommandSubCommandData[]; } -export interface ApplicationCommandSubGroup extends BaseApplicationCommandOptionsData { +export interface ApplicationCommandSubGroup extends Omit { type: 'SUB_COMMAND_GROUP'; options?: ApplicationCommandSubCommand[]; } -export interface ApplicationCommandSubCommandData extends BaseApplicationCommandOptionsData { +export interface ApplicationCommandSubCommandData extends Omit { type: 'SUB_COMMAND' | ApplicationCommandOptionTypes.SUB_COMMAND; options?: (ApplicationCommandChoicesData | ApplicationCommandNonOptionsData | ApplicationCommandChannelOptionData)[]; } -export interface ApplicationCommandSubCommand extends BaseApplicationCommandOptionsData { +export interface ApplicationCommandSubCommand extends Omit { type: 'SUB_COMMAND'; options?: (ApplicationCommandChoicesOption | ApplicationCommandNonOptions | ApplicationCommandChannelOption)[]; }