Method SetRoles
| Improve this Doc View SourceSetRoles(IEnumerable<Snowflake>)
Sets the roles the member is to be assigned to.
Requires ManageRoles.
Declaration
public ModifyGuildMemberOptions SetRoles(IEnumerable<Snowflake> roleIds)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<Snowflake> | roleIds | A list of IDs for each role the member is to be assigned to. |
Returns
| Type | Description |
|---|---|
| ModifyGuildMemberOptions |