Add new Bot actions + a lot of performance improvements

This commit is contained in:
JustArchi
2018-09-19 18:25:17 +02:00
parent 708b7ebe67
commit 5abace39f9
16 changed files with 193 additions and 676 deletions

View File

@@ -50,8 +50,8 @@ namespace ArchiSteamFarm.IPC.Controllers.Api {
command = Program.GlobalConfig.CommandPrefix + command;
}
string content = await targetBot.Commands.Response(Program.GlobalConfig.SteamOwnerID, command).ConfigureAwait(false);
return Ok(new GenericResponse<string>(content));
string response = await targetBot.Commands.Response(Program.GlobalConfig.SteamOwnerID, command).ConfigureAwait(false);
return Ok(new GenericResponse<string>(response));
}
}
}