Skip to main content

mentions

Function mentions 

Source
pub const fn mentions(
    mentions: &[Id<UserMarker>],
) -> Result<(), SearchGuildMessagesError>
Expand description

Ensure that the amount of mentions is correct.

ยงErrors

Returns an error of type MentionsCount if the number of mentions is invalid.