diff --git a/Core/HttpService/HttpAsService.cs b/Core/HttpService/HttpAsService.cs index 267c7a9..469c036 100644 --- a/Core/HttpService/HttpAsService.cs +++ b/Core/HttpService/HttpAsService.cs @@ -504,7 +504,13 @@ namespace BetterSecondBot.HttpService protected Object Failure(string input, string command, string[] args) { - bot.CommandHistoryAdd(command, String.Join("~#~",args), false, ""); + bot.CommandHistoryAdd(command, String.Join("~#~",args), false, input); + return new { reply = input, status = false }; + } + + protected Object Failure(string input, string command, string[] args, string whyfailed) + { + bot.CommandHistoryAdd(command, String.Join("~#~", args), false, whyfailed); return new { reply = input, status = false }; }