# Function mention::parse

> The mentions `content` shows: `<@id>` (and Discord's `<@!id>`) for members, `<@&id>` for roles, `@everyone`. Each id once, in order, at most `MAX_MEMBERS` members and `MAX_ROLES` r

`zaun_bot::mention::parse` · Function

```rust
pub fn parse(content: &str) -> Mentions
```

The mentions `content` shows: `<@id>` (and Discord's `<@!id>`) for members, `<@&id>` for
roles, `@everyone`. Each id once, in order, at most `MAX_MEMBERS` members and
`MAX_ROLES` roles; malformed ids are skipped. Use it only on text the bot wrote: on
text from members it would mention whoever they named.

[Full rustdoc page](/docs/api/rust/zaun-bot/zaun_bot/mention/fn.parse.html)
