From 2c9b37a0cc40a16f7ea4bca40a06195b7578b624 Mon Sep 17 00:00:00 2001 From: Nestpebble Date: Thu, 26 Sep 2024 21:09:53 +0100 Subject: [PATCH] sdfsdfsdf --- mesh_bot.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mesh_bot.py b/mesh_bot.py index c642c1c..b84a778 100755 --- a/mesh_bot.py +++ b/mesh_bot.py @@ -25,7 +25,7 @@ def auto_response(message, snr, rssi, hop, pkiStatus, message_from_id, channel_n # Command List default_commands = { "ping": lambda: handle_ping(message, hop, snr, rssi, isDM), - "pong": lambda: " PING!! 🏓", + "pong": lambda: "/n PING!! 🏓", "motd": lambda: handle_motd(message, message_from_id, isDM), "bbshelp": bbs_help, "wxalert": lambda: handle_wxalert(message_from_id, deviceID, message), @@ -103,14 +103,14 @@ def handle_ping(message, hop, snr, rssi, isDM): msg = "" if "ping" in message: - msg = "🏓PONG\n" + msg = msg + "🏓PONG\n" elif "test" in message or "testing" in message: - msg = random.choice(["🎙Testing 1,2,3\n", "🎙Testing\n",\ + msg = msg + random.choice(["🎙Testing 1,2,3\n", "🎙Testing\n",\ "🎙Testing, testing\n",\ "🎙Ah-wun, ah-two...\n", "🎙Is this thing on?\n",\ "🎙Roger that.\n", "Ack to you!\n"]) elif "ack" in message: - msg = "✋ACK-ACK!\n" + msg = msg + "✋ACK-ACK!\n" if hop == "Direct": msg = msg + f"SNR:{snr} RSSI:{rssi}"