From 6bfac817e09c2b768bbeceb833a80c817d46fb61 Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Fri, 26 Jul 2024 01:07:06 -0700 Subject: [PATCH] Update pong_bot.py --- pong_bot.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pong_bot.py b/pong_bot.py index f8a0281..c7176fd 100755 --- a/pong_bot.py +++ b/pong_bot.py @@ -41,7 +41,9 @@ 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(deviceID)) + bot_response = "Last heard:\n" + str(get_node_list(1)) + if interface2_enabled: + bot_response += "\nPort2:\n" + str(get_node_list(2)) elif "testing" in message.lower() or "test" in message.lower(): bot_response = "🏓Testing 1,2,3" else: