[docs] Merge pull request #396 from Esscoder/patch-1

Fixed HandleCommand Error message
This commit is contained in:
Christopher F
2016-12-03 19:03:20 -05:00
committed by GitHub

View File

@@ -50,7 +50,7 @@ public class Program
// rather an object stating if the command executed succesfully)
var result = await commands.ExecuteAsync(context, argPos, map);
if (!result.IsSuccess)
await msg.Channel.SendMessageAsync(result.ErrorReason);
await context.Channel.SendMessageAsync(result.ErrorReason);
}
}
}