Search Results for

    Show / Hide Table of Contents

    Enum RunMode

    Specifies the behavior of the command execution workflow.

    Namespace: Discord.Interactions
    Assembly: Discord.Net.Interactions.dll
    Syntax
    public enum RunMode : int

    Fields

    Name Description
    Async

    Executes the command on a different thread from the gateway one.

    Default

    The default behaviour set in InteractionServiceConfig.

    Sync

    Executes the command on the same thread as gateway one.

    See Also
    InteractionServiceConfig

    Theme

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