Readded AutoLoad setter

This commit is contained in:
RogueException
2016-08-18 20:20:03 -03:00
parent 501f965bc0
commit 9951112908
3 changed files with 3 additions and 2 deletions

View File

@@ -6,7 +6,7 @@ namespace Discord.Commands
public class ModuleAttribute : Attribute public class ModuleAttribute : Attribute
{ {
public string Prefix { get; } public string Prefix { get; }
public bool AutoLoad { get; } public bool AutoLoad { get; set; }
public ModuleAttribute() public ModuleAttribute()
{ {

View File

@@ -7,6 +7,7 @@ namespace Discord.Commands
public class NameAttribute : Attribute public class NameAttribute : Attribute
{ {
public string Text { get; } public string Text { get; }
public NameAttribute(string text) public NameAttribute(string text)
{ {
Text = text; Text = text;