|
@@ -53,6 +53,13 @@ namespace Discord.Commands |
|
|
else |
|
|
else |
|
|
c = '\0'; |
|
|
c = '\0'; |
|
|
|
|
|
|
|
|
|
|
|
//If we're processing an remainder parameter, ignore all other logic |
|
|
|
|
|
if (curParam != null && curParam.IsRemainder && curPos != endPos) |
|
|
|
|
|
{ |
|
|
|
|
|
argBuilder.Append(c); |
|
|
|
|
|
continue; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
//If this character is escaped, skip it |
|
|
//If this character is escaped, skip it |
|
|
if (isEscaping) |
|
|
if (isEscaping) |
|
|
{ |
|
|
{ |
|
@@ -79,13 +86,6 @@ namespace Discord.Commands |
|
|
continue; |
|
|
continue; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
//If we're processing an remainder parameter, ignore all other logic |
|
|
|
|
|
if (curParam != null && curParam.IsRemainder && curPos != endPos) |
|
|
|
|
|
{ |
|
|
|
|
|
argBuilder.Append(c); |
|
|
|
|
|
continue; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
//If we're not currently processing one, are we starting the next argument yet? |
|
|
//If we're not currently processing one, are we starting the next argument yet? |
|
|
if (curPart == ParserPart.None) |
|
|
if (curPart == ParserPart.None) |
|
|
{ |
|
|
{ |
|
|