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:
@@ -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()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user