# Function mention::role

> The text that shows a role mention: `<@&id>` (discord.js `roleMention`).

`zaun_bot::mention::role` · Function

```rust
pub fn role(id: &str) -> String
```

The text that shows a role mention: `<@&id>` (discord.js `roleMention`).

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