Skip to main content

Variable: EmbedLimits

const EmbedLimits: object

Namespace containing limits related to Discord embeds.

Type declaration

MaximumAuthorNameLength

readonly MaximumAuthorNameLength: 256 = 256

Maximum characters allowed in the author field of an embed.

MaximumDescriptionLength

readonly MaximumDescriptionLength: 4096 = 4096

Maximum characters allowed in an embed description.

MaximumFieldNameLength

readonly MaximumFieldNameLength: 256 = 256

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

MaximumFieldValueLength

readonly MaximumFieldValueLength: 1024 = 1024

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

MaximumFields

readonly MaximumFields: 25 = 25

Maximum fields allowed in an embed.

MaximumFooterLength

readonly MaximumFooterLength: 2048 = 2048

Maximum characters allowed in a footer of an embed.

MaximumTitleLength

readonly MaximumTitleLength: 256 = 256

Maximum characters allowed in the title of an embed.

MaximumTotalCharacters

readonly MaximumTotalCharacters: 6000 = 6000

Maximum characters allowed in an embed, in total.

Source

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