publish eve_rock_watcher.py

This commit is contained in:
brockdarnold 2026-06-15 00:40:09 +00:00
parent 6b631026ec
commit cdc5bd1361

View file

@ -23,6 +23,7 @@ Only active during a mining session: start one with `!mining on` in Discord
import json
import os
import re
import socket
import sys
import time
@ -261,7 +262,7 @@ def main():
line = f"🪨 {ore.title()} {units:,} u · empties <t:{empty_at}:R>"
if nxt:
line += f" · next: {nxt[0].title()} ({nxt[1]:,} u)"
w._discord_live(cp, "rock", "Mining — current rock", line)
w._discord_live(cp, "rock", f"⛏️ {socket.gethostname()} current rock", line)
last_status = now
except Exception as e:
print(f"[rock] error: {e}")