Skip to main content

Struct RoleEditInfo

Represents information for a role edit.

Assembly: Discord.Net.Rest.dll​
View Source​
Declaration
public struct RoleEditInfo

Properties​

Color​

Gets the color of this role.

View Source​
Declaration
public readonly Color? Color { get; }

Mentionable​

Gets a value that indicates whether this role is mentionable.

View Source​
Declaration
public readonly bool? Mentionable { get; }

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).

View Source​
Declaration
public readonly bool? Hoist { get; }

Name​

Gets the name of this role.

View Source​
Declaration
public readonly string Name { get; }

Permissions​

Gets the permissions assigned to this role.

View Source​
Declaration
public readonly GuildPermissions? Permissions { get; }