Update mesh_bot.py

This commit is contained in:
SpudGunMan
2024-11-29 18:17:17 -08:00
parent 4bb7c9296a
commit b98bc8429a
+1 -1
View File
@@ -895,7 +895,7 @@ def onReceive(packet, interface):
hop = f"{hop_count} hops"
if message_string == help_message or message_string == welcome_message or "CMD?:" in message_string:
if help_message in message_string or welcome_message in message_string or "CMD?:" in message_string:
# ignore help and welcome messages
logger.warning(f"Got Own Welcome/Help header. From: {get_name_from_number(message_from_id, 'long', rxNode)}")
return