Class RoleTags
Provides tags related to a discord role.
Namespace: Discord
Assembly: Discord.Net.Core.dll
Syntax
public class RoleTags : object
Properties
| Improve this Doc View SourceBotId
Gets the identifier of the bot that this role belongs to, if it does.
Declaration
public ulong? BotId { get; }
Property Value
Type | Description |
---|---|
Nullable<UInt64> | A langword_csharp_ulong if this role belongs to a bot; otherwise null. |
IntegrationId
Gets the identifier of the integration that this role belongs to, if it does.
Declaration
public ulong? IntegrationId { get; }
Property Value
Type | Description |
---|---|
Nullable<UInt64> | A langword_csharp_ulong if this role belongs to an integration; otherwise null. |
IsPremiumSubscriberRole
Gets if this role is the guild's premium subscriber (booster) role.
Declaration
public bool IsPremiumSubscriberRole { get; }
Property Value
Type | Description |
---|---|
Boolean | true if this role is the guild's premium subscriber role; otherwise false. |