You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
666 B
24 lines
666 B
4 years ago
|
namespace Discord.Commands
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// Specifies the behavior of the command execution workflow.
|
||
|
/// </summary>
|
||
|
/// <seealso cref="CommandServiceConfig"/>
|
||
|
/// <seealso cref="CommandAttribute"/>
|
||
|
public enum RunMode
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// The default behaviour set in <see cref="CommandServiceConfig"/>.
|
||
|
/// </summary>
|
||
|
Default,
|
||
|
/// <summary>
|
||
|
/// Executes the command on the same thread as gateway one.
|
||
|
/// </summary>
|
||
|
Sync,
|
||
|
/// <summary>
|
||
|
/// Executes the command on a different thread from the gateway one.
|
||
|
/// </summary>
|
||
|
Async
|
||
|
}
|
||
|
}
|