Roles Command
This command allows server administrators to manage roles within their guild. Users can link roles together so that when one role is assigned or removed, the linked role is also assigned or removed automatically.
/roles link add
Section titled “/roles link add”This command allows users to link two roles together. When one role is assigned or removed, the linked role will also be assigned or removed.
Use the command followed by the two roles you want to link.
| Parameter | Type | Description | Required | Choices |
|---|---|---|---|---|
| role1 | Role | The first role to link. | Yes | N/A |
| role2 | Role | The second role to link. | Yes | N/A |
| reverse | Boolean | Whether to link the roles both ways. | No | True, False |
/roles link add role1:@RoleA role2:@RoleB- Links RoleA and RoleB together./roles link add role1:@RoleA role2:@RoleB reverse:true- Links RoleA and RoleB together both ways.
- Users need the “Manage Roles” permission to use this command.
- The bot needs the “Manage Roles” permission to manage roles.
/roles link remove
Section titled “/roles link remove”This command allows users to unlink two previously linked roles. When one role is assigned or removed, the unlinked role will no longer be affected.
Use the command followed by the two roles you want to unlink.
| Parameter | Type | Description | Required | Choices |
|---|---|---|---|---|
| role1 | Role | The first role to unlink. | Yes | N/A |
| role2 | Role | The second role to unlink. | Yes | N/A |
| reverse | Boolean | Whether to unlink the roles both ways. | No | True, False |
/roles link remove role1:@RoleA role2:@RoleB- Unlinks RoleA and RoleB./roles link remove role1:@RoleA role2:@RoleB reverse:true- Unlinks RoleA and RoleB both ways.
- Users need the “Manage Roles” permission to use this command.
- The bot needs the “Manage Roles” permission to manage roles.
/roles link list
Section titled “/roles link list”This command allows users to list all roles linked to a specific role, or check if two roles are linked.
Use the command followed by the role you want to check, and optionally a second role to see if they are linked.
| Parameter | Type | Description | Required | Choices |
|---|---|---|---|---|
| role1 | Role | The role to view linked roles for. | Yes | N/A |
| role2 | Role | The second role to check if linked. | No | N/A |
/roles link list role1:@RoleA- Lists all roles linked to RoleA./roles link list role1:@RoleA role2:@RoleB- Checks if RoleA and RoleB are linked.
- Users need the “Manage Roles” permission to use this command.