Table of Contents

Interface IRole

Namespace
Fluxer.Net
Assembly
Fluxer.Net.dll
public interface IRole : ISnowflake, IMentionable
Inherited Members

Properties

Color

The colour of the role as an integer.

int Color { get; }

Property Value

int

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

bool

IsMentionable

Whether this role can be mentioned by anyone.

bool IsMentionable { get; }

Property Value

bool

Name

The name of the role.

string Name { get; }

Property Value

string

Permissions

The role's permission bitfield. Sent as a quoted string by the gateway (e.g. "8933636165184").

GuildPermissions Permissions { get; }

Property Value

GuildPermissions

Position

The position of the role in the role hierarchy.

int Position { get; }

Property Value

int

UnicodeEmoji

The unicode emoji for this role.

string? UnicodeEmoji { get; }

Property Value

string