File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ export class FileUploadBuilder extends ComponentBuilder<APIFileUploadComponent>
7272 /**
7373 * Sets the maximum number of file uploads required.
7474 *
75- * @param maxValues - The maximum values that must be uploaded
75+ * @param maxValues - The maximum values that can be uploaded
7676 */
7777 public setMaxValues ( maxValues : number ) {
7878 this . data . max_values = maxValues ;
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ export abstract class BaseSelectMenuBuilder<Data extends APISelectMenuComponent>
4949 /**
5050 * Sets the maximum values that must be selected in the select menu.
5151 *
52- * @param maxValues - The maximum values that must be selected
52+ * @param maxValues - The maximum values that can be selected
5353 */
5454 public setMaxValues ( maxValues : number) {
5555 this . data . max_values = maxValues ;
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ const { ComponentType } = require('discord-api-types/v10');
4747/**
4848 * @typedef {BaseComponentData } FileUploadComponentData
4949 * @property {string } customId The custom id of the file upload
50- * @property {number } [minValues] The minimum number of files that can be uploaded (0-10)
50+ * @property {number } [minValues] The minimum number of files that must be uploaded (0-10)
5151 * @property {number } [maxValues] The maximum number of files that can be uploaded (1-10)
5252 * @property {boolean } [required] Whether this component is required in modals
5353 */
@@ -57,7 +57,7 @@ const { ComponentType } = require('discord-api-types/v10');
5757 * @property {string } customId The custom id of the select menu
5858 * @property {boolean } [disabled] Whether the select menu is disabled or not
5959 * @property {number } [maxValues] The maximum amount of options that can be selected
60- * @property {number } [minValues] The minimum amount of options that can be selected
60+ * @property {number } [minValues] The minimum amount of options that must be selected
6161 * @property {string } [placeholder] The placeholder of the select menu
6262 * @property {boolean } [required] Whether this component is required in modals
6363 */
You can’t perform that action at this time.
0 commit comments