Struct RoleEditInfo
Represents information for a role edit.
public struct RoleEditInfo
- Inherited Members
Properties
Color
Gets the color of this role.
public readonly Color? Color { get; }
Property Value
- Color?
A color object representing the color assigned to this role; null if this role does not have a color.
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).
public readonly bool? Hoist { get; }
Property Value
- bool?
true if this role's members will appear in a separate section in the user list; otherwise false; null if this is not mentioned in this entry.
IconId
Gets the icon of this role.
public readonly string IconId { get; }
Property Value
- string
A string containing the hash of this role's icon.
Remarks
null if the value was not updated in this entry.
Mentionable
Gets a value that indicates whether this role is mentionable.
public readonly bool? Mentionable { get; }
Property Value
- bool?
true if other members can mention this role in a text channel; otherwise false; null if this is not mentioned in this entry.
Name
Gets the name of this role.
public readonly string Name { get; }
Property Value
- string
A string containing the name of this role.
Permissions
Gets the permissions assigned to this role.
public readonly GuildPermissions? Permissions { get; }
Property Value
- GuildPermissions?
A guild permissions object representing the permissions that have been assigned to this role; null if no permissions have been assigned.