mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
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>
This commit is contained in:
@@ -72,7 +72,7 @@ export class FileUploadBuilder extends ComponentBuilder<APIFileUploadComponent>
|
||||
/**
|
||||
* 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;
|
||||
|
||||
@@ -49,7 +49,7 @@ export abstract class BaseSelectMenuBuilder<Data extends APISelectMenuComponent>
|
||||
/**
|
||||
* 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;
|
||||
|
||||
Reference in New Issue
Block a user