ApplicationCommandOptionData

export type ApplicationCommandOptionData = | ApplicationCommandSubGroupData | ApplicationCommandNonOptionsData | ApplicationCommandChannelOptionData | ApplicationCommandAutocompleteNumericOptionData | ApplicationCommandAutocompleteStringOptionData | ApplicationCommandNumericOptionData | ApplicationCommandStringOptionData | ApplicationCommandRoleOptionData | ApplicationCommandUserOptionData | ApplicationCommandMentionableOptionData | ApplicationCommandBooleanOptionData | ApplicationCommandSubCommandData;
export type ApplicationCommandOptionData = | ApplicationCommandSubGroupData | ApplicationCommandNonOptionsData | ApplicationCommandChannelOptionData | ApplicationCommandAutocompleteNumericOptionData | ApplicationCommandAutocompleteStringOptionData | ApplicationCommandNumericOptionData | ApplicationCommandStringOptionData | ApplicationCommandRoleOptionData | ApplicationCommandUserOptionData | ApplicationCommandMentionableOptionData | ApplicationCommandBooleanOptionData | ApplicationCommandSubCommandData;
An option for an application command or subcommand. In addition to the listed properties, when used as a parameter, API style snake_case properties can be used for compatibility with generators like @discordjs/builders. Note that providing a value for the camelCase counterpart for any snake_case property will discard the provided snake_case property.