diff --git a/WFBot/Features/Commands/SearchCommands.cs b/WFBot/Features/Commands/SearchCommands.cs index 6c94413..33b5354 100644 --- a/WFBot/Features/Commands/SearchCommands.cs +++ b/WFBot/Features/Commands/SearchCommands.cs @@ -128,7 +128,7 @@ public async Task SendRivenAuctions(string name) if (i != null) { var auctions1 = PGOCache.Rivens.ContainsKey(weapon.urlname) ? PGOCache.Rivens[weapon.urlname] : await GetRivenAuctions(weapon.urlname); - var rivens = auctions1.FindAll(r => r.Owner.Status == "ingame").Take(Config.Instance.WFASearchCount).ToList(); + var rivens = auctions1.FindAll(r => r.Owner.Status == "ingame" || r.Owner.Status == "online").Take(Config.Instance.WFASearchCount).ToList(); SendImageAndText(i, rivens.Select(x => x.Owner.IngameName).Connect(", ")); return null; } @@ -137,7 +137,7 @@ public async Task SendRivenAuctions(string name) if (AsyncContext.GetUseImageRendering()) { - var rivens = auctions.FindAll(r => r.Owner.Status == "ingame").Take(Config.Instance.WFASearchCount).ToList(); + var rivens = auctions.FindAll(r => r.Owner.Status == "ingame" || r.Owner.Status == "online").Take(Config.Instance.WFASearchCount).ToList(); var image = ImageRenderHelper.RivenAuction(rivens, weapon); SendImageAndText(image, rivens.Select(x => x.Owner.IngameName).Connect(", ")); return null;