mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 06:00:46 +00:00
Misc
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user