Update CommandAttribute.cs
Nullable<T> is not valid for Attributes, this is my suggested fix.
This commit is contained in:
@@ -17,5 +17,10 @@ namespace Discord.Commands
|
|||||||
{
|
{
|
||||||
Text = text;
|
Text = text;
|
||||||
}
|
}
|
||||||
|
public CommandAttribute(string text, bool ignoreExtraArgs)
|
||||||
|
{
|
||||||
|
Text = text;
|
||||||
|
IgnoreExtraArgs = ignoreExtraArgs;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user