Search Results for

    Show / Hide Table of Contents

    Class DiscordIntentExtensions

    Represents a discord intent extensions.

    Inheritance
    System.Object
    DiscordIntentExtensions
    Namespace: DisCatSharp
    Assembly: DisCatSharp.dll
    Syntax
    public static class DiscordIntentExtensions

    Methods

    | Improve this Doc View Source

    AddIntent(DiscordIntents, DiscordIntents)

    Adds an intent to these intents.

    Declaration
    public static DiscordIntents AddIntent(this DiscordIntents intents, DiscordIntents toAdd)
    Parameters
    Type Name Description
    DiscordIntents intents

    The base intents.

    DiscordIntents toAdd

    The intents to add.

    Returns
    Type Description
    DiscordIntents
    | Improve this Doc View Source

    HasIntent(DiscordIntents, DiscordIntents)

    Calculates whether these intents have a certain intent.

    Declaration
    public static bool HasIntent(this DiscordIntents intents, DiscordIntents search)
    Parameters
    Type Name Description
    DiscordIntents intents

    The base intents.

    DiscordIntents search

    The intents to search for.

    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    RemoveIntent(DiscordIntents, DiscordIntents)

    Removes an intent from these intents.

    Declaration
    public static DiscordIntents RemoveIntent(this DiscordIntents intents, DiscordIntents toRemove)
    Parameters
    Type Name Description
    DiscordIntents intents

    The base intents.

    DiscordIntents toRemove

    The intents to remove.

    Returns
    Type Description
    DiscordIntents
    • Improve this Doc
    • View Source
    In This Article
    Back to top © 2021-2022 Aiko IT Systems