From 43f62bb6678ec332795c8cfbe0c01854b95aa61e Mon Sep 17 00:00:00 2001 From: MateoDeveloper <79017590+Mateo-tem@users.noreply.github.com> Date: Thu, 7 Jul 2022 13:46:06 -0500 Subject: [PATCH] docs(ApplicationCommand): add `min_length` and `max_length` to ApplicationCommandOptionData (#8239) --- packages/discord.js/src/structures/ApplicationCommand.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/packages/discord.js/src/structures/ApplicationCommand.js b/packages/discord.js/src/structures/ApplicationCommand.js index dcf80d9bb..8bca0b08e 100644 --- a/packages/discord.js/src/structures/ApplicationCommand.js +++ b/packages/discord.js/src/structures/ApplicationCommand.js @@ -221,6 +221,10 @@ class ApplicationCommand extends Base { * {@link ApplicationCommandOptionType.Number} option * @property {number} [maxValue] The maximum value for an {@link ApplicationCommandOptionType.Integer} or * {@link ApplicationCommandOptionType.Number} option + * @property {number} [minLength] The minimum length for an {@link ApplicationCommandOptionType.String} option + * (maximum of `6000`) + * @property {number} [maxLength] The maximum length for an {@link ApplicationCommandOptionType.String} option + * (maximum of `6000`) */ /** @@ -512,9 +516,9 @@ class ApplicationCommand extends Base { * @property {number} [maxValue] The maximum value for an {@link ApplicationCommandOptionType.Integer} or * {@link ApplicationCommandOptionType.Number} option * @property {number} [minLength] The minimum length for an {@link ApplicationCommandOptionType.String} option - * (minimum of 0, maximum of `6000`) + * (maximum of `6000`) * @property {number} [maxLength] The maximum length for an {@link ApplicationCommandOptionType.String} option - * (minimum of 1, maximum of `6000`) + * (maximum of `6000`) */ /**