Browse Source

Fixed CommandService.Execute crash bug

tags/1.0-rc
RogueException 9 years ago
parent
commit
37ab13160b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/Discord.Net.Commands/CommandService.cs

+ 1
- 1
src/Discord.Net.Commands/CommandService.cs 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)


Loading…
Cancel
Save