mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 06:00:46 +00:00
Include game name in the output stats
This commit is contained in:
@@ -1784,7 +1784,7 @@ namespace ArchiSteamFarm {
|
||||
ownedGamesStats[gameID] = ownedGameStats;
|
||||
}
|
||||
|
||||
IEnumerable<string> extraResponses = ownedGamesStats.Select(kv => FormatStaticResponse(string.Format(Strings.BotOwnsOverviewPerGame, kv.Value, validResults.Count, kv.Key)));
|
||||
IEnumerable<string> extraResponses = ownedGamesStats.Select(kv => FormatStaticResponse(string.Format(Strings.BotOwnsOverviewPerGame, kv.Value, validResults.Count, kv.Key + (!string.IsNullOrEmpty(kv.Value.GameName) ? " | " + kv.Value.GameName : ""))));
|
||||
|
||||
return string.Join(Environment.NewLine, validResults.Select(result => result.Response).Concat(extraResponses));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user