Class ModifyRoleOptions
An optional set of parameters used for modifying a guild role.
Inherited Members
Namespace: Discore.Http
Assembly: Discore.dll
Syntax
public class ModifyRoleOptions
Properties
| Name | Description |
|---|---|
| Color | Gets or sets the display color of the role (or null to leave unchanged). |
| IsHoisted | Gets or sets whether the role is displayed in the sidebar (or null to leave unchanged). |
| IsMentionable | Gets or sets whether the role is mentionable (or null to leave unchanged). |
| Name | Gets or sets the name of the role (or null to leave unchanged). |
| Permissions | Gets or sets the permissions granted by this role (or null to leave unchanged). |
Methods
| Name | Description |
|---|---|
| SetColor(DiscordColor) | Sets the display color of the role. |
| SetHoisted(bool) | Sets whether the role should be displayed in the sidebar. |
| SetMentionable(bool) | Sets whether the role is mentionable. |
| SetName(string) | Sets the name of the role. |
| SetPermissions(DiscordPermission) | Sets the permissions granted by the role. |