Update CommandAttribute.cs

Nullable<T> is not valid for Attributes, this is my suggested fix.
This commit is contained in:
JustNrik
2018-08-27 00:11:55 -04:00
committed by Finite Reality
parent db90eab953
commit 4259b8cb0c

View File

@@ -17,5 +17,10 @@ namespace Discord.Commands
{
Text = text;
}
public CommandAttribute(string text, bool ignoreExtraArgs)
{
Text = text;
IgnoreExtraArgs = ignoreExtraArgs;
}
}
}