publish update.py

This commit is contained in:
brockdarnold 2026-06-15 02:47:13 +00:00
parent 580eb90865
commit 6545b6ca3f

View file

@ -272,11 +272,8 @@ def announce(cfg_path):
for s in run_now) or "none"
diag = _diagnostics(cp)
diag_line = " ".join(f"{'' if ok else ''}{name}" for name, ok in diag)
host = socket.gethostname()
w._discord(cp, "🟢 eve-watcher updated",
f"On **{host}** — {len(run_now)} up: {short}\n{diag_line}\n"
"`!mining on` starts the live feed. ❌ items above are why something's quiet.")
print(f"announced: {len(run_now)} running — {short}")
# Silent in Discord — restart/update pings were spam. Local log only.
print(f"announce: {len(run_now)} up — {short}; {diag_line}")
except Exception as e:
print(f"announce skipped: {e}")