From 727caef3dc44eb690729c17577dbdc70cf1608cf Mon Sep 17 00:00:00 2001 From: Nayan <33187059+GShadow5@users.noreply.github.com> Date: Mon, 25 Aug 2025 23:30:36 -0400 Subject: [PATCH] fix regex --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.py b/bot.py index 1a5ca45..d9f93d8 100644 --- a/bot.py +++ b/bot.py @@ -33,7 +33,7 @@ active_server_pipe_task = None # To hold the asyncio task that reads from the pi # This pattern captures the timestamp, log level, player name, and the message itself. # Adjust if your server log format is different (e.g., if you use plugins that change output). MINECRAFT_CHAT_REGEX = re.compile( - r"^\[(.*?)\].*INFO.*\]: <(.*)> (.*)$" + r"\[(.*?)\].*INFO.*\]: <(.*)> (.*)" ) '''