This commit is contained in:
JustArchi
2016-03-15 07:04:31 +01:00
parent d4f4ec3401
commit fccca6a4fc
2 changed files with 4 additions and 4 deletions

View File

@@ -394,10 +394,10 @@ namespace ArchiSteamFarm {
continue;
}
Logging.LogGenericInfo("Command sent: \"" + arg + "\"");
Logging.LogGenericInfo("Command sent: " + arg);
// We intentionally execute this async block synchronously
Logging.LogGenericInfo("Response received: \"" + WCF.SendCommand(arg) + "\"");
Logging.LogGenericInfo("Response received: " + WCF.SendCommand(arg);
/*
Task.Run(async () => {
Logging.LogGenericNotice("WCF", "Response received: " + await WCF.SendCommand(arg).ConfigureAwait(false));

View File

@@ -113,12 +113,12 @@ namespace ArchiSteamFarm {
return "ERROR: Couldn't find any bot named: " + botName;
}
Logging.LogGenericInfo("Received command: \"" + input + "\"");
Logging.LogGenericInfo("Received command: " + input);
string command = '!' + input;
string output = bot.HandleMessage(command).Result; // TODO: This should be asynchronous
Logging.LogGenericInfo("Answered to command: \"" + input + "\" with: \"" + output + "\"");
Logging.LogGenericInfo("Answered to command: " + input + " with: " + output);
return output;
}
}