diff --git a/ArchiSteamFarm.OfficialPlugins.Monitoring/MonitoringPlugin.cs b/ArchiSteamFarm.OfficialPlugins.Monitoring/MonitoringPlugin.cs index d00ba2a3d3004..4666b67dbcdcc 100644 --- a/ArchiSteamFarm.OfficialPlugins.Monitoring/MonitoringPlugin.cs +++ b/ArchiSteamFarm.OfficialPlugins.Monitoring/MonitoringPlugin.cs @@ -198,7 +198,7 @@ private void InitializeMeter() { $"{MetricNamePrefix}_bot_farming_time_remaining_{Units.Minutes}", static () => { IEnumerable bots = Bot.Bots?.Values ?? []; - return bots.Select(static bot => new Measurement(bot.CardsFarmer.TimeRemaining.TotalMinutes, new KeyValuePair(TagNames.BotName, bot.BotName), new KeyValuePair(TagNames.SteamID, bot.SteamID))); + return bots.Where(static bot => bot.IsConnectedAndLoggedOn).Select(static bot => new Measurement(bot.CardsFarmer.TimeRemaining.TotalMinutes, new KeyValuePair(TagNames.BotName, bot.BotName), new KeyValuePair(TagNames.SteamID, bot.SteamID))); }, Units.Minutes, "Approximate number of minutes remaining until each bot has finished farming all cards" diff --git a/ArchiSteamFarm/Plugins/PluginsCore.cs b/ArchiSteamFarm/Plugins/PluginsCore.cs index dbc581a8a5e72..a56e9b456ecad 100644 --- a/ArchiSteamFarm/Plugins/PluginsCore.cs +++ b/ArchiSteamFarm/Plugins/PluginsCore.cs @@ -305,7 +305,9 @@ internal static async Task InitPlugins() { } if (activePluginUpdates.Count > 0) { - ASF.ArchiLogger.LogGenericWarning(Strings.CustomPluginUpdatesEnabled); + if (activePluginUpdates.Any(static plugin => plugin is not OfficialPlugin)) { + ASF.ArchiLogger.LogGenericWarning(Strings.CustomPluginUpdatesEnabled); + } ActivePluginUpdates = activePluginUpdates.ToFrozenSet(); }