From b8f8f804996c352dfac57340e57dc0bd934cb482 Mon Sep 17 00:00:00 2001 From: Nestpebble <116762865+Nestpebble@users.noreply.github.com> Date: Wed, 25 Sep 2024 01:28:47 +0100 Subject: [PATCH] Update mesh_bot.py --- mesh_bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mesh_bot.py b/mesh_bot.py index d437c67..2bc0637 100755 --- a/mesh_bot.py +++ b/mesh_bot.py @@ -761,7 +761,7 @@ def onReceive(packet, interface): hop = f"{hop_count} hops" - if message_string == help_message or message_string == welcome_message or message_string == "CMD?:" in message_string: + if message_string == help_message or message_string == welcome_message or "CMD?:" in message_string.lower(): # ignore help and welcome messages logger.warning(f"Got Own Welcome/Help header. From: {get_name_from_number(message_from_id, 'long', rxNode)}") return