Update mesh_bot.py

This commit is contained in:
SpudGunMan
2024-07-11 00:39:17 -07:00
parent b7e89fdf8d
commit f84bec6d4c

View File

@@ -132,7 +132,7 @@ def auto_response(message, snr, rssi, hop, message_from_id):
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 5 nodes heard:\n" + str(get_node_list())
bot_response = "Last heard:\n" + str(get_node_list())
elif "whereami" in message.lower():
location = get_node_location(message_from_id)
where = where_am_i(str(location[0]),str(location[1]))