Expand description
Constants, error types, and functions for validating [Embed
]s.
Structs§
- Embed
Validation Error - An embed is not valid.
Enums§
- Embed
Validation Error Type - Type of
EmbedValidationError
that occurred.
Constants§
- AUTHOR_
NAME_ LENGTH - The maximum embed author name length in codepoints.
- COLOR_
MAXIMUM - The maximum accepted color value.
- DESCRIPTION_
LENGTH - The maximum embed description length in codepoints.
- EMBED_
TOTAL_ LENGTH - The maximum combined embed length in codepoints.
- FIELD_
COUNT - The maximum number of fields in an embed.
- FIELD_
NAME_ LENGTH - The maximum length of an embed field name in codepoints.
- FIELD_
VALUE_ LENGTH - The maximum length of an embed field value in codepoints.
- FOOTER_
TEXT_ LENGTH - The maximum embed footer length in codepoints.
- TITLE_
LENGTH - The maximum embed title length in codepoints.