diff --git a/mesh_bot.py b/mesh_bot.py index a3ec6ba..3094215 100755 --- a/mesh_bot.py +++ b/mesh_bot.py @@ -62,7 +62,7 @@ def auto_response(message, snr, rssi, hop, message_from_id): bot_response = "🏓ACK-ACK! " + f"SNR:{snr} RSSI:{rssi}" else: bot_response = "🏓ACK-ACK! " + hop - elif "testing" in message.lower(): + elif "testing" in message.lower() or "test" in message.lower(): bot_response = "🏓Testing 1,2,3" elif "pong" in message.lower(): bot_response = "🏓PING!!" diff --git a/pong_bot.py b/pong_bot.py index defff87..f7cff3b 100755 --- a/pong_bot.py +++ b/pong_bot.py @@ -49,7 +49,7 @@ def auto_response(message, snr, rssi, hop, message_from_id): bot_response = "🏓ACK-ACK! " + f"SNR:{snr} RSSI:{rssi}" else: bot_response = "🏓ACK-ACK! " + hop - elif "testing" in message.lower(): + elif "testing" in message.lower() or "test" in message.lower(): bot_response = "🏓Testing 1,2,3" elif "pong" in message.lower(): bot_response = "🏓Ping!!"