Skip to main content

mentions_role_id

Function mentions_role_id 

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

Ensure that the amount of mention roles is correct.

ยงErrors

Returns an error of type MentionsRoleIdCount if the number of mention roles is invalid.