diff --git a/ArchiSteamFarm/Bot.cs b/ArchiSteamFarm/Bot.cs index e51cbf0a4..44c1507d0 100755 --- a/ArchiSteamFarm/Bot.cs +++ b/ArchiSteamFarm/Bot.cs @@ -304,11 +304,11 @@ namespace ArchiSteamFarm { } internal static string FormatBotResponse(string response, string botName) { - if (!string.IsNullOrEmpty(response)) { + if (!string.IsNullOrEmpty(response) && !string.IsNullOrEmpty(botName)) { return Environment.NewLine + "<" + botName + "> " + response; } - ASF.ArchiLogger.LogNullError(nameof(response)); + ASF.ArchiLogger.LogNullError(nameof(response) + " || " + nameof(botName)); return null; }