Skip to main content

Variable: ModalLimits

const ModalLimits: object

Namespace containing limits related to Discord Modals.

Type declaration

MaximumComponents

readonly MaximumComponents: 5

Maximum components allowed in a modal.

MaximumCustomIdCharacters

readonly MaximumCustomIdCharacters: 100

Maximum characters allowed in a modal custom ID.

MaximumTitleCharacters

readonly MaximumTitleCharacters: 45

Maximum characters allowed in a modal title.

Defined in

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