From a1afd250537fd88c304262983e36af50ecb38343 Mon Sep 17 00:00:00 2001 From: 3nd3r Date: Tue, 30 Dec 2025 22:54:07 -0600 Subject: [PATCH] Simplify globaltop output --- src/duckhuntbot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/duckhuntbot.py b/src/duckhuntbot.py index 9ac3e0b..dbc22e2 100644 --- a/src/duckhuntbot.py +++ b/src/duckhuntbot.py @@ -1117,9 +1117,9 @@ class DuckHuntBot: for idx, (xp, player_nick, channel_key) in enumerate(top5, 1): prefix = medals.get(idx, f"#{idx}") channel_label = _display_channel_key(channel_key) - parts.append(f"{prefix} {player_nick} in {channel_label}: {xp}XP") + parts.append(f"{prefix} {player_nick} {xp}XP {channel_label}") - line = f"Top XP (all channels): {bold}{reset} " + " | ".join(parts) + line = f"Top XP: {bold}{reset} " + " | ".join(parts) self.send_message(channel, line) except Exception as e: self.logger.error(f"Error in handle_globaltop: {e}")