pub fn embeds(embeds: &[Embed]) -> Result<(), MessageValidationError>
Expand description
Ensure a list of embeds is correct.
ยงErrors
Returns an error of type TooManyEmbeds
if there are too many embeds.
Otherwise, refer to the errors section of embed
for a list of errors
that may occur.