Skip to content

Commit

Permalink
docs(ApplicationCommand): Fix ApplicationCommandOptionChoice (#7798)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiralite committed Apr 17, 2022
1 parent 3eb45e3 commit 1040ce0
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions src/structures/ApplicationCommand.js
Expand Up @@ -206,7 +206,7 @@ class ApplicationCommand extends Base {
*/

/**
* @param {ApplicationCommandOptionChoiceData} ApplicationCommandOptionChoice
* @typedef {ApplicationCommandOptionChoiceData} ApplicationCommandOptionChoice
* @property {string} [nameLocalized] The localized name for this choice
*/

Expand Down Expand Up @@ -449,15 +449,6 @@ class ApplicationCommand extends Base {
* @property {number} [maxValue] The maximum value for an `INTEGER` or `NUMBER` option
*/

/**
* A choice for an application command option.
* @typedef {Object} ApplicationCommandOptionChoice
* @property {string} name The name of the choice
* @property {string} [nameLocalized] The localized name for this choice
* @property {Object<string, string>} [nameLocalizations] The localized names for this choice
* @property {string|number} value The value of the choice
*/

/**
* Transforms an {@link ApplicationCommandOptionData} object into something that can be used with the API.
* @param {ApplicationCommandOptionData|ApplicationCommandOption} option The option to transform
Expand Down

0 comments on commit 1040ce0

Please sign in to comment.