From ab19e0db9147b613db8a502bb8b149d90dd6453d Mon Sep 17 00:00:00 2001 From: Jordyn Date: Sun, 15 Mar 2026 20:13:40 -0500 Subject: [PATCH] Fix command prefix parsing code in _handle_message --- main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index 77000d6..8580625 100755 --- a/main.py +++ b/main.py @@ -378,7 +378,8 @@ class Server(): # Run CMDTHREAD threading.Thread(target = self._handle_command, args = (cmd, msg["target_channel"], )).start() - elif msg["params"][-1].startswith(self.bot_prefix): + + if msg["params"][-1].startswith(self.bot_prefix): # Get rid of the bot prefix command = msg["params"][-1].strip(self.bot_prefix)