Skip to main content

Variable: ModalLimits

const ModalLimits: object

Namespace containing limits related to Discord Modals.

Type declaration

MaximumComponents

readonly MaximumComponents: 5 = 5

Maximum components allowed in a modal.

MaximumCustomIdCharacters

readonly MaximumCustomIdCharacters: 100 = 100

Maximum characters allowed in a modal custom ID.

MaximumTitleCharacters

readonly MaximumTitleCharacters: 45 = 45

Maximum characters allowed in a modal title.

Defined in

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