Skip to main content

Variable: EmbedLimits

const EmbedLimits: object

Namespace containing limits related to Discord embeds.

Type declaration

MaximumAuthorNameLength

readonly MaximumAuthorNameLength: 256

Maximum characters allowed in the author field of an embed.

MaximumDescriptionLength

readonly MaximumDescriptionLength: 4096

Maximum characters allowed in an embed description.

MaximumFieldNameLength

readonly MaximumFieldNameLength: 256

Maximum characters allowed in the name of a field in an embed.

MaximumFields

readonly MaximumFields: 25

Maximum fields allowed in an embed.

MaximumFieldValueLength

readonly MaximumFieldValueLength: 1024

Maximum characters allowed in the value of a field in an embed.

MaximumFooterLength

readonly MaximumFooterLength: 2048

Maximum characters allowed in a footer of an embed.

MaximumTitleLength

readonly MaximumTitleLength: 256

Maximum characters allowed in the title of an embed.

MaximumTotalCharacters

readonly MaximumTotalCharacters: 6000

Maximum characters allowed in an embed, in total.

Defined in

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