From 99e74ae8c0ca167eff62d889bbb5d3a7c305a55f Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Sun, 28 Sep 2025 18:22:56 -0700 Subject: [PATCH] lower! --- mesh_bot.py | 2 +- pong_bot.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mesh_bot.py b/mesh_bot.py index 29c42dc..ef2caf3 100755 --- a/mesh_bot.py +++ b/mesh_bot.py @@ -301,7 +301,7 @@ def handle_echo(message, message_from_id, deviceID, isDM, channel_number): if "?" in message.lower(): return "echo command returns your message back to you. Example:echo Hello World" elif "echo " in message.lower(): - parts = message.split("echo ", 1) + parts = message.lower().split("echo ", 1) if len(parts) > 1 and parts[1].strip() != "": echo_msg = parts[1] if channel_number != echoChannel: diff --git a/pong_bot.py b/pong_bot.py index 893a326..94b551c 100755 --- a/pong_bot.py +++ b/pong_bot.py @@ -179,7 +179,7 @@ def handle_echo(message, message_from_id, deviceID, isDM, channel_number): if "?" in message.lower(): return "echo command returns your message back to you. Example:echo Hello World" elif "echo " in message.lower(): - parts = message.split("echo ", 1) + parts = message.lower().split("echo ", 1) if len(parts) > 1 and parts[1].strip() != "": echo_msg = parts[1] if channel_number != echoChannel: