From 63bd5b836d7caef0d4cfdc27f1e0ad9e16de2b11 Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Wed, 22 Jan 2025 22:00:56 -0800 Subject: [PATCH] HELP H E L P --- mesh_bot.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mesh_bot.py b/mesh_bot.py index 756dd30..b406bc3 100755 --- a/mesh_bot.py +++ b/mesh_bot.py @@ -141,6 +141,8 @@ def auto_response(message, snr, rssi, hop, pkiStatus, message_from_id, channel_n return bot_response def handle_cmd(message, message_from_id, deviceID): + # why CMD? its just a command list. a terminal would normally use "Help" + # I didnt want to invoke the word "help" in Meshtastic due to its possible emergency use if " " in message and message.split(" ")[1] in trap_list: return "🤖 just use the commands directly in chat" return help_message