From e6b00979f9d8dbafb119140049778e7ad8e767f1 Mon Sep 17 00:00:00 2001 From: Hsu Still <341464@gmail.com> Date: Mon, 19 Mar 2018 15:14:55 +0800 Subject: [PATCH] Add RunMode documentation --- src/Discord.Net.Commands/RunMode.cs | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/Discord.Net.Commands/RunMode.cs b/src/Discord.Net.Commands/RunMode.cs index ecb6a4b58..43ced3f72 100644 --- a/src/Discord.Net.Commands/RunMode.cs +++ b/src/Discord.Net.Commands/RunMode.cs @@ -1,9 +1,18 @@ -namespace Discord.Commands +namespace Discord.Commands { public enum RunMode { + /// + /// Default behaviour set in . + /// Default, + /// + /// Executes the command on the same thread as gateway. + /// Sync, + /// + /// Executes the command on a different thread from the gateway one. + /// Async } }