Skip to main content

Variable: SelectMenuLimits

const SelectMenuLimits: object

Namespace containing limits related to Select Menus.

Type declaration

MaximumCustomIdCharacters

readonly MaximumCustomIdCharacters: 100 = 100

Maximum characters allowed in a select menu custom ID.

MaximumLengthOfDescriptionOfOption

readonly MaximumLengthOfDescriptionOfOption: 100 = 100

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

MaximumLengthOfNameOfOption

readonly MaximumLengthOfNameOfOption: 100 = 100

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

MaximumLengthOfValueOfOption

readonly MaximumLengthOfValueOfOption: 100 = 100

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

MaximumMaxValuesSize

readonly MaximumMaxValuesSize: 25 = 25

Maximum "maximum" values allowed in a select menu.

MaximumMinValuesSize

readonly MaximumMinValuesSize: 25 = 25

Maximum "minimum" values allowed in a select menu.

MaximumOptionsLength

readonly MaximumOptionsLength: 25 = 25

Maximum amount of options allowed in a select menu.

MaximumPlaceholderCharacters

readonly MaximumPlaceholderCharacters: 150 = 150

Maximum characters allowed in a select menu placeholder.

Defined in

projects/utilities/packages/discord-utilities/src/lib/limits.ts:400