Table of Contents

Class RoleTags

Namespace
Discord
Assembly
Discord.Net.Core.dll

Provides tags related to a discord role.

public class RoleTags
Inheritance
RoleTags
Inherited Members

Properties

BotId

Gets the identifier of the bot that this role belongs to, if it does.

public ulong? BotId { get; }

Property Value

ulong?

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

public ulong? IntegrationId { get; }

Property Value

ulong?

A ulong if this role belongs to an integration; otherwise null.

IsAvailableForPurchase

Gets whether this role is available for purchase.

public bool IsAvailableForPurchase { get; }

Property Value

bool

IsGuildConnection

Gets whether this role is a guild's linked role.

public bool IsGuildConnection { get; }

Property Value

bool

IsPremiumSubscriberRole

Gets if this role is the guild's premium subscriber (booster) role.

public bool IsPremiumSubscriberRole { get; }

Property Value

bool

true if this role is the guild's premium subscriber role; otherwise false.

SubscriptionListingId

Gets the identifier of the subscription listing that this role belongs to, if it does.

public ulong? SubscriptionListingId { get; }

Property Value

ulong?