Added a configurable run mode for commands

This commit is contained in:
RogueException
2016-10-10 21:16:34 -03:00
parent 635819b89f
commit c7ac85455f
3 changed files with 25 additions and 1 deletions

View File

@@ -6,6 +6,7 @@ namespace Discord.Commands
public class CommandAttribute : Attribute
{
public string Text { get; }
public RunMode RunMode { get; set; } = RunMode.Sync;
public CommandAttribute()
{