Enum RunMode
- Namespace
- Discord.Interactions
- Assembly
- Discord.Net.Interactions.dll
Specifies the behavior of the command execution workflow.
public enum RunMode
Fields
Async = 1
Executes the command on a different thread from the gateway one.
Default = 2
The default behaviour set in InteractionServiceConfig.
Sync = 0
Executes the command on the same thread as gateway one.