Update HttpService.cs
This commit is contained in:
parent
458afc7508
commit
4a3bffda2c
1 changed files with 2 additions and 2 deletions
|
|
@ -176,13 +176,13 @@ namespace SecondBotEvents.Services
|
|||
protected object BasicReply(string input, string[] args, string command)
|
||||
{
|
||||
master.DataStoreService.AddCommandToHistory(true, command, args);
|
||||
return new { reply = input, status = false };
|
||||
return new { command = command, args = args, reply = input, status = true };
|
||||
}
|
||||
|
||||
protected object Failure(string input, string command, string[] args, string whyfailed)
|
||||
{
|
||||
master.DataStoreService.AddCommandToHistory(false, command, args);
|
||||
return new { reply = input, status = false };
|
||||
return new { command = command, args = args, reply = input, status = false, whyfailed = whyfailed };
|
||||
}
|
||||
|
||||
protected object Failure(string input, string[] args)
|
||||
|
|
|
|||
Loading…
Reference in a new issue