Module twilight_validate::embed
source · Expand description
Constants, error types, and functions for validating Embed
s.
Structs
- An embed is not valid.
Enums
- Type of
EmbedValidationError
that occurred.
Constants
- The maximum embed author name length in codepoints.
- The maximum accepted color value.
- The maximum embed description length in codepoints.
- The maximum combined embed length in codepoints.
- The maximum number of fields in an embed.
- The maximum length of an embed field name in codepoints.
- The maximum length of an embed field value in codepoints.
- The maximum embed footer length in codepoints.
- The maximum embed title length in codepoints.
Functions
- Calculate the total character count of an embed.
- Ensure an embed is correct.