From 0d8c16d2f5f54eab3f8ada06521b4e414d314cd3 Mon Sep 17 00:00:00 2001 From: Jarvis Date: Fri, 20 Feb 2026 21:07:31 +0000 Subject: [PATCH] Improve bot logging, flush output --- bot/monopbot.py | 4 ++-- game-state.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bot/monopbot.py b/bot/monopbot.py index ff912e3..779dd98 100644 --- a/bot/monopbot.py +++ b/bot/monopbot.py @@ -55,11 +55,11 @@ class MonopBot: def on_connect(self, connection, event): channel = self.config["channel"] - print(f"Connected. Joining {channel}") + print(f"Connected to {self.config['server']}. Joining {channel}", flush=True) connection.join(channel) def on_join(self, connection, event): - print(f"Joined {event.target}") + print(f"Joined {event.target}", flush=True) def on_pubmsg(self, connection, event): """Handle public messages in channel.""" diff --git a/game-state.json b/game-state.json index 7211d4b..a3219d9 100644 --- a/game-state.json +++ b/game-state.json @@ -674,5 +674,5 @@ } ], "log": [], - "lastUpdated": "2026-02-20T21:05:15.895061+00:00" + "lastUpdated": "2026-02-20T21:07:22.805824+00:00" } \ No newline at end of file