From 169ea8c233eea2c0ed7fcb72756f8a81c16d7f64 Mon Sep 17 00:00:00 2001 From: Nestpebble <116762865+Nestpebble@users.noreply.github.com> Date: Wed, 25 Sep 2024 13:12:08 +0100 Subject: [PATCH] Update mesh_bot.py --- mesh_bot.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mesh_bot.py b/mesh_bot.py index e3b80a1..75b3850 100755 --- a/mesh_bot.py +++ b/mesh_bot.py @@ -88,6 +88,8 @@ def auto_response(message, snr, rssi, hop, pkiStatus, message_from_id, channel_n if len(cmdHistory) > 50: cmdHistory.pop(0) cmdHistory.append({'nodeID': message_from_id, 'cmd': cmds[0]['cmd'], 'time': time.time()}) + else: + logger.debug(f"System: Bot detected messageTrap but was not a DM") # wait a responseDelay to avoid message collision from lora-ack time.sleep(responseDelay)