# Function bindings::zaun::bot::community::add_role

> `member.roles.update`.

`zaun_bot::bindings::zaun::bot::community::add_role` · Function

```rust
pub fn add_role(member_id: &str, role_id: &str) -> Result<(), HostError>
```

`member.roles.update`.

[Full rustdoc page](/docs/api/rust/zaun-bot/zaun_bot/bindings/zaun/bot/community/fn.add_role.html)
