Method AddRole
| Improve this Doc View SourceAddRole(CreateGuildRoleOptions)
Adds a role to be created with the guild.
Note: The first role added will end up as the @everyone role.
Declaration
public CreateGuildOptions AddRole(CreateGuildRoleOptions role)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateGuildRoleOptions | role | Note: If this is the first role, it will end up as the @everyone role. |
Returns
| Type | Description |
|---|---|
| CreateGuildOptions |