mirror of
https://github.com/SpudGunMan/meshing-around.git
synced 2026-07-30 13:33:17 +02:00
testing123
This commit is contained in:
+2
-2
@@ -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."
|
||||
|
||||
|
||||
+2
-2
@@ -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."
|
||||
|
||||
|
||||
Reference in New Issue
Block a user