Fixed null char being appended to unparsed args
This commit is contained in:
@@ -50,7 +50,7 @@ namespace Discord.Commands
|
||||
}
|
||||
|
||||
//If we're processing an unparsed parameter, ignore all other logic
|
||||
if (curParam != null && curParam.IsUnparsed)
|
||||
if (curParam != null && curParam.IsUnparsed && curPos != endPos)
|
||||
{
|
||||
argBuilder.Append(c);
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user