Struct RoleEditInfo
Represents information for a role edit.
Inherited Members
Namespace: Discord.Rest
Assembly: Discord.Net.Rest.dll
Syntax
public struct RoleEditInfo
Properties
| Improve this Doc View SourceColor
Gets the color of this role.
Declaration
public Color? Color { get; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<Color> | A color object representing the color assigned to this role; |
Hoist
Gets a value that indicates whether this role is hoisted (i.e. its members will appear in a separate section on the user list).
Declaration
public bool? Hoist { get; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |
|
Mentionable
Gets a value that indicates whether this role is mentionable.
Declaration
public bool? Mentionable { get; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |
|
Name
Gets the name of this role.
Declaration
public string Name { get; }
Property Value
| Type | Description |
|---|---|
| System.String | A string containing the name of this role. |
Permissions
Gets the permissions assigned to this role.
Declaration
public GuildPermissions? Permissions { get; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<GuildPermissions> | A guild permissions object representing the permissions that have been assigned to this role; |