Fixed CommandService.Execute crash bug

This commit is contained in:
RogueException
2016-06-29 05:27:29 -03:00
parent 5c5a9c8d6f
commit 37ab13160b

View File

@@ -281,7 +281,7 @@ namespace Discord.Commands
return searchResult;
var commands = searchResult.Commands;
for (int i = commands.Count - 1; i >= 0; i++)
for (int i = commands.Count - 1; i >= 0; i--)
{
var parseResult = await commands[i].Parse(message, searchResult);
if (!parseResult.IsSuccess)