From 7aba1096f9053a7bd2b59caef93d1c6c4049ea97 Mon Sep 17 00:00:00 2001 From: Nestpebble Date: Thu, 26 Sep 2024 21:20:30 +0100 Subject: [PATCH] szd --- mesh_bot.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mesh_bot.py b/mesh_bot.py index 6ea9dc9..4cc12f6 100755 --- a/mesh_bot.py +++ b/mesh_bot.py @@ -103,14 +103,14 @@ def handle_ping(message, hop, snr, rssi, isDM): return message.split("?")[0].title() + " command returns SNR and RSSI, or hopcount from your message. Try adding e.g. @place or #1/3 to your message" if "ping" in message: - msg = msg + "🏓PONG \n" + msg = msg + "🏓PONG \\n" elif "test" in message or "testing" in message: msg = msg + random.choice(["🎙Testing 1,2,3 \n", "🎙Testing \n",\ "🎙Testing, testing \n",\ - "🎙Ah-wun, ah-two... \n", "🎙Is this thing on?\ n",\ + "🎙Ah-wun, ah-two... \n", "🎙Is this thing on? \n",\ "🎙Roger that. \n", "Ack to you! \n"]) elif "ack" in message: - msg = msg + "✋ACK-ACK! \n" + msg = msg + "✋ACK-ACK! \\n" if hop == "Direct": msg = msg + f"SNR:{snr} RSSI:{rssi}"