diff --git a/packages/builders/src/components/fileUpload/FileUpload.ts b/packages/builders/src/components/fileUpload/FileUpload.ts index 60e88be60..feac1420b 100644 --- a/packages/builders/src/components/fileUpload/FileUpload.ts +++ b/packages/builders/src/components/fileUpload/FileUpload.ts @@ -72,7 +72,7 @@ export class FileUploadBuilder extends ComponentBuilder /** * Sets the maximum number of file uploads required. * - * @param maxValues - The maximum values that must be uploaded + * @param maxValues - The maximum values that can be uploaded */ public setMaxValues(maxValues: number) { this.data.max_values = maxValues; diff --git a/packages/builders/src/components/selectMenu/BaseSelectMenu.ts b/packages/builders/src/components/selectMenu/BaseSelectMenu.ts index 766b7efd8..724557670 100644 --- a/packages/builders/src/components/selectMenu/BaseSelectMenu.ts +++ b/packages/builders/src/components/selectMenu/BaseSelectMenu.ts @@ -49,7 +49,7 @@ export abstract class BaseSelectMenuBuilder /** * Sets the maximum values that must be selected in the select menu. * - * @param maxValues - The maximum values that must be selected + * @param maxValues - The maximum values that can be selected */ public setMaxValues(maxValues: number) { this.data.max_values = maxValues; diff --git a/packages/discord.js/src/util/Components.js b/packages/discord.js/src/util/Components.js index 3f507cfd0..7f8b74ca2 100644 --- a/packages/discord.js/src/util/Components.js +++ b/packages/discord.js/src/util/Components.js @@ -47,7 +47,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 */ @@ -57,7 +57,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 */