This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
Repositories
Datasets
Forum
实训
竞赛
大数据
应用
Register
Sign In
youys
/
Discord.Net
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
34
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
Add RunMode documentation
pull/988/head
Hsu Still
7 years ago
parent
b7cb798a05
commit
e6b00979f9
1 changed files
with
10 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+10
-1
src/Discord.Net.Commands/RunMode.cs
+ 10
- 1
src/Discord.Net.Commands/RunMode.cs
View File
@@ -1,9 +1,18 @@
namespace Discord.Commands
namespace Discord.Commands
{
public enum RunMode
{
/// <summary>
/// Default <see cref="RunMode"/> behaviour set in <see cref="CommandServiceConfig"/>.
/// </summary>
Default,
/// <summary>
/// Executes the command on the same thread as gateway.
/// </summary>
Sync,
/// <summary>
/// Executes the command on a different thread from the gateway one.
/// </summary>
Async
}
}
Write
Preview
Loading…
Cancel
Save