Fix issues with DefaultRunMode

For a command to use the DefaultRunMode, it must now have it's RunMode set to RunMode.Default (this is the default value on CommandAttribute now).
This commit is contained in:
Christopher F
2016-11-26 22:04:02 -05:00
parent 1be6f77efb
commit fb99b019a0
4 changed files with 4 additions and 3 deletions

View File

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