Class RoleProperties
- Namespace
- Kook
- Assembly
- Kook.Net.Core.dll
Properties that are used to modify an IRole with the specified changes.
public class RoleProperties
- Inheritance
-
RoleProperties
- Inherited Members
Properties
Color
Gets or sets the color of the role.
public Color? Color { get; set; }
Property Value
Remarks
This value may not be set if the role is an @everyone role.
Hoist
Gets or sets whether this role should be displayed independently in the user list.
public bool? Hoist { get; set; }
Property Value
- bool?
Remarks
This value may not be set if the role is an @everyone role.
Mentionable
Gets or sets whether or not this role can be mentioned.
public bool? Mentionable { get; set; }
Property Value
- bool?
Remarks
This value may not be set if the role is an @everyone role.
Name
Gets or sets the name of the role.
public string? Name { get; set; }
Property Value
Remarks
This value may not be set if the role is an @everyone role.
Permissions
Gets or sets the role's GuildPermission.
public GuildPermissions? Permissions { get; set; }