Update mesh-bot.py

This commit is contained in:
SpudGunMan
2024-06-19 22:18:36 -07:00
parent 5572007c37
commit f575d255ef

View File

@@ -67,10 +67,7 @@ def auto_response(message,snr,rssi,hop,message_from_id):
bot_response = help_message
elif "sun" in message.lower():
location = get_node_location(message_from_id)
lat = location[0]
lon = location[1]
print (f"Using Location: {location}")
bot_response = get_sun(lat,lon)
bot_response = get_sun(str(location[0]),str(location[1]))
elif "hfcond" in message.lower():
bot_response = hf_band_conditions()
elif "solar" in message.lower():