docs(ApplicationCommand): add min_length and max_length to ApplicationCommandOptionData (#8239)

This commit is contained in:
MateoDeveloper
2022-07-07 13:46:06 -05:00
committed by GitHub
parent 96c8d21f95
commit 43f62bb667

View File

@@ -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`)
*/
/**