Search Results for

    Show / Hide Table of Contents

    Class RoleTags

    Provides tags related to a discord role.

    Inheritance
    Object
    RoleTags
    Namespace: Discord
    Assembly: Discord.Net.Core.dll
    Syntax
    public class RoleTags : object

    Properties

    | Improve this Doc View Source

    BotId

    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.

    | Improve this Doc View Source

    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.

    | Improve this Doc View Source

    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.

    Theme

    • Improve this Doc
    • View Source
    In This Article
    Back to top Discord.Net (c) 2015-2023 3.10.0