Fixed notempty precondition error message

This commit is contained in:
RogueException
2017-03-18 10:37:57 -03:00
parent 21959fe43c
commit 5a6d6ee076

View File

@@ -46,7 +46,7 @@ namespace Discord
private static ArgumentException CreateNotEmptyException(string name, string msg)
{
if (msg == null) return new ArgumentException(name, "Argument cannot be blank.");
if (msg == null) return new ArgumentException("Argument cannot be blank", name);
else return new ArgumentException(name, msg);
}