Enum RunMode
Specifies the behavior of the command execution workflow.
Assembly: Discord.Net.Commands.dll​
View Source​
Declaration
public enum RunMode
Fields​
Default​
The default behavior set in Discord.Commands.CommandServiceConfig.
View Source​
Declaration
Default = 0
Sync​
Executes the command on the same thread as gateway one.
View Source​
Declaration
Sync = 1
Async​
Executes the command on a different thread from the gateway one.
View Source​
Declaration
Async = 2