# BOT_GROUP_SET_ROLE

Commands bot to add a group member to the specified role.


:::info
The avatar must already be in the group for this command to work.

:::

```snippet totalcontrol-variables-EsRYwBUh4J
str | UUID of the group and the new role in the following format: `"groupUUID,roleUUID"`.
id  | UUID of the resident to add to the role.
```

## Example

```csharp
llMessageLinked(LINK_SET, BOT_GROUP_SET_ROLE, "uuid of group" + "," + "uuid of role", "uuid of person you are adding to the role");
```