From 00feb42720429addd3d2fd55b8afcda478f3b712 Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Thu, 18 Jul 2024 22:05:42 -0700 Subject: [PATCH] testing123 --- mesh_bot.py | 4 ++-- pong_bot.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/mesh_bot.py b/mesh_bot.py index 6c1d34b..84b0147 100755 --- a/mesh_bot.py +++ b/mesh_bot.py @@ -111,8 +111,6 @@ 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() or "test" in message.lower(): - bot_response = "🏓Testing 1,2,3" elif "pong" in message.lower(): bot_response = "🏓PING!!" elif "motd" in message.lower(): @@ -197,6 +195,8 @@ def auto_response(message, snr, rssi, hop, message_from_id): bot_response = bbs_delete_message(messageID, message_from_id) else: bot_response = "Please add a message number ex: bbsdelete #14" + elif "testing" in message.lower() or "test" in message.lower(): + bot_response = "🏓Testing 1,2,3" else: bot_response = "I'm sorry, I'm afraid I can't do that." diff --git a/pong_bot.py b/pong_bot.py index 8564797..21325e7 100755 --- a/pong_bot.py +++ b/pong_bot.py @@ -84,8 +84,6 @@ 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() or "test" in message.lower(): - bot_response = "🏓Testing 1,2,3" elif "pong" in message.lower(): bot_response = "🏓Ping!!" elif "motd" in message.lower(): @@ -101,6 +99,8 @@ def auto_response(message, snr, rssi, hop, message_from_id): bot_response = help_message elif "lheard" in message.lower() or "sitrep" in message.lower(): bot_response = "Last heard:\n" + str(get_node_list()) + elif "testing" in message.lower() or "test" in message.lower(): + bot_response = "🏓Testing 1,2,3" else: bot_response = "I'm sorry, I'm afraid I can't do that."