Skip to main content

Variable: SelectMenuLimits

const SelectMenuLimits: object

Namespace containing limits related to Select Menus.

Type declaration

MaximumCustomIdCharacters

readonly MaximumCustomIdCharacters: 100

Maximum characters allowed in a select menu custom ID.

MaximumLengthOfDescriptionOfOption

readonly MaximumLengthOfDescriptionOfOption: 100

Maximum characters allowed in a select menu option's description.

MaximumLengthOfNameOfOption

readonly MaximumLengthOfNameOfOption: 100

Maximum characters allowed in a select menu option's name.

MaximumLengthOfValueOfOption

readonly MaximumLengthOfValueOfOption: 100

Maximum characters allowed in a select menu option's value.

MaximumMaxValuesSize

readonly MaximumMaxValuesSize: 25

Maximum "maximum" values allowed in a select menu.

MaximumMinValuesSize

readonly MaximumMinValuesSize: 25

Maximum "minimum" values allowed in a select menu.

MaximumOptionsLength

readonly MaximumOptionsLength: 25

Maximum amount of options allowed in a select menu.

MaximumPlaceholderCharacters

readonly MaximumPlaceholderCharacters: 150

Maximum characters allowed in a select menu placeholder.

Defined in

node_modules/@sapphire/discord-utilities/dist/esm/index.d.mts:481