From 9ec73fa687570cc07673df7b12b6b2218ece911f Mon Sep 17 00:00:00 2001 From: Naiyar <137700126+imnaiyar@users.noreply.github.com> Date: Sat, 1 Nov 2025 20:33:34 +0600 Subject: [PATCH] docs: clarify wording for maximum values (#11231) * docs(FileUpload): clarify wording * chore: missed instances --------- Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> --- packages/discord.js/src/util/Components.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/discord.js/src/util/Components.js b/packages/discord.js/src/util/Components.js index d3305444a..204a6c3db 100644 --- a/packages/discord.js/src/util/Components.js +++ b/packages/discord.js/src/util/Components.js @@ -48,7 +48,7 @@ const { ComponentType } = require('discord-api-types/v10'); /** * @typedef {BaseComponentData} FileUploadComponentData * @property {string} customId The custom id of the file upload - * @property {number} [minValues] The minimum number of files that can be uploaded (0-10) + * @property {number} [minValues] The minimum number of files that must be uploaded (0-10) * @property {number} [maxValues] The maximum number of files that can be uploaded (1-10) * @property {boolean} [required] Whether this component is required in modals */ @@ -96,7 +96,7 @@ const { ComponentType } = require('discord-api-types/v10'); * @property {string} customId The custom id of the select menu * @property {boolean} [disabled] Whether the select menu is disabled or not * @property {number} [maxValues] The maximum amount of options that can be selected - * @property {number} [minValues] The minimum amount of options that can be selected + * @property {number} [minValues] The minimum amount of options that must be selected * @property {string} [placeholder] The placeholder of the select menu * @property {boolean} [required] Whether this component is required in modals */