Update mesh_bot.py

This commit is contained in:
Nestpebble
2024-09-25 01:28:47 +01:00
committed by GitHub
parent a13d98e32b
commit b8f8f80499
+1 -1
View File
@@ -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