From 4a3bffda2c2ef20becb6df70ffd201072369aed3 Mon Sep 17 00:00:00 2001 From: Madpeter <57852827+Madpeterz@users.noreply.github.com> Date: Wed, 8 Jun 2022 03:00:17 +0100 Subject: [PATCH] Update HttpService.cs --- SecondBotEvents/Services/HttpService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SecondBotEvents/Services/HttpService.cs b/SecondBotEvents/Services/HttpService.cs index 02e8639..69f2c28 100644 --- a/SecondBotEvents/Services/HttpService.cs +++ b/SecondBotEvents/Services/HttpService.cs @@ -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)