# 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.

:::

## Variables

The following table shows input values (you send them with the API call) and returned output values.

| **Variable** | **Description** |
|----------|-------------|
| `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");
```