From 1040ce0e710e0e805ad75302b9078a0230309ae8 Mon Sep 17 00:00:00 2001 From: Jiralite <33201955+Jiralite@users.noreply.github.com> Date: Sun, 17 Apr 2022 09:47:34 +0100 Subject: [PATCH] docs(ApplicationCommand): Fix ApplicationCommandOptionChoice (#7798) --- src/structures/ApplicationCommand.js | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/structures/ApplicationCommand.js b/src/structures/ApplicationCommand.js index 03e02ffbaf94..10283822b023 100644 --- a/src/structures/ApplicationCommand.js +++ b/src/structures/ApplicationCommand.js @@ -206,7 +206,7 @@ class ApplicationCommand extends Base { */ /** - * @param {ApplicationCommandOptionChoiceData} ApplicationCommandOptionChoice + * @typedef {ApplicationCommandOptionChoiceData} ApplicationCommandOptionChoice * @property {string} [nameLocalized] The localized name for this choice */ @@ -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} [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