Function mention::parse
zaun_client::mention::parse · Function
pub fn parse(content: &str) -> MentionsThe mentions content shows: <@id> (and Discord’s <@!id>) for members, <@&id> for
roles, @everyone. Each id once, in order, at most 50 members and 20 roles; malformed
ids are skipped. Use it on text this member wrote, not on text from someone else.