deviceList multinode fix

This commit is contained in:
SpudGunMan
2024-07-24 19:23:33 -07:00
parent d2f46db634
commit 1d734e2df1
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ def auto_response(message, snr, rssi, hop, message_from_id, channel_number, devi
elif "solar" in message.lower():
bot_response = drap_xray_conditions() + "\n" + solar_conditions()
elif "lheard" in message.lower() or "sitrep" in message.lower():
bot_response = "Last heard:\n" + str(get_node_list())
bot_response = "Last heard:\n" + str(get_node_list(deviceID))
elif "whereami" in message.lower():
location = get_node_location(message_from_id, deviceID)
where = where_am_i(str(location[0]),str(location[1]))
+1 -1
View File
@@ -41,7 +41,7 @@ def auto_response(message, snr, rssi, hop, message_from_id, channel_number, devi
elif "cmd" in message.lower():
bot_response = help_message
elif "lheard" in message.lower() or "sitrep" in message.lower():
bot_response = "Last heard:\n" + str(get_node_list())
bot_response = "Last heard:\n" + str(get_node_list(deviceID))
elif "testing" in message.lower() or "test" in message.lower():
bot_response = "🏓Testing 1,2,3"
else: