This commit is contained in:
SpudGunMan
2025-09-28 18:22:56 -07:00
parent 1bdfc3828f
commit 99e74ae8c0
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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:
+1 -1
View File
@@ -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: