mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 06:00:46 +00:00
Add number of cards drop remaining in "!status" response
This commit is contained in:
@@ -633,7 +633,10 @@ namespace ArchiSteamFarm {
|
||||
}
|
||||
|
||||
if (CardsFarmer.CurrentGamesFarming.Count > 0) {
|
||||
return "Bot " + BotName + " is farming appIDs: " + string.Join(", ", CardsFarmer.CurrentGamesFarming) + " and has a total of " + CardsFarmer.GamesToFarm.Count + " games left to farm.";
|
||||
return "Bot " + BotName + " is farming appIDs: " + string.Join(", ", CardsFarmer.CurrentGamesFarming) +
|
||||
" and has a total of " + CardsFarmer.GamesToFarm.Count + " games left, " +
|
||||
CardsFarmer.GamesToFarm.Select(g => (int) g.CardsRemaining).DefaultIfEmpty(0).Sum() +
|
||||
" cards drop remaining to farm.";
|
||||
}
|
||||
|
||||
return "Bot " + BotName + " is not farming anything.";
|
||||
|
||||
Reference in New Issue
Block a user