Table of Contents

Enum RunMode

Namespace
Discord.Commands
Assembly
Discord.Net.Commands.dll

Specifies the behavior of the command execution workflow.

public enum RunMode

Fields

Async = 2

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

Default = 0

The default behavior set in CommandServiceConfig.

Sync = 1

Executes the command on the same thread as gateway one.

See Also