From e6a17d9258234ecdc73e2c1f0283b19e3582f4a6 Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Sun, 9 Nov 2025 13:19:36 -0800 Subject: [PATCH] patch DM for welcome and LLM --- mesh_bot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mesh_bot.py b/mesh_bot.py index 3407e0b..e9eac0b 100755 --- a/mesh_bot.py +++ b/mesh_bot.py @@ -660,7 +660,7 @@ def handle_llm(message_from_id, channel_number, deviceID, message, publicChannel if not any(node['nodeID'] == message_from_id and node['welcome'] == True for node in seenNodes): if (channel_number == publicChannel and my_settings.antiSpam) or my_settings.useDMForResponse: # send via DM - send_message(my_settings.welcome_message, channel_number, message_from_id, deviceID) + send_message(my_settings.welcome_message, 0, message_from_id, deviceID) else: # send via channel send_message(my_settings.welcome_message, channel_number, 0, deviceID) @@ -693,7 +693,7 @@ def handle_llm(message_from_id, channel_number, deviceID, message, publicChannel if msg != '': if (channel_number == publicChannel and my_settings.antiSpam) or my_settings.useDMForResponse: # send via DM - send_message(msg, channel_number, message_from_id, deviceID) + send_message(msg, 0, message_from_id, deviceID) else: # send via channel send_message(msg, channel_number, 0, deviceID)