# Function mention::role

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

`zaun_client::mention::role` · Function

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

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

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