Interface IRole
public interface IRole : ISnowflake, IMentionable
- Inherited Members
Properties
Color
The colour of the role as an integer.
int Color { get; }
Property Value
HoistPosition
The hoisted position of the role, otherwise use position.
int? HoistPosition { get; }
Property Value
- int?
IsHoisted
Whether this role is displayed separately in the member list.
bool IsHoisted { get; }
Property Value
IsMentionable
Whether this role can be mentioned by anyone.
bool IsMentionable { get; }
Property Value
Name
The name of the role.
string Name { get; }
Property Value
Permissions
The role's permission bitfield. Sent as a quoted string by the gateway (e.g. "8933636165184").
GuildPermissions Permissions { get; }
Property Value
Position
The position of the role in the role hierarchy.
int Position { get; }
Property Value
UnicodeEmoji
The unicode emoji for this role.
string? UnicodeEmoji { get; }