From da18d7f94077fc2728122b56573ebdbe0af57892 Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Wed, 26 Jun 2024 17:44:09 -0700 Subject: [PATCH] Update mesh_bot.py --- mesh_bot.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/mesh_bot.py b/mesh_bot.py index 0b47d38..ad9bfd2 100755 --- a/mesh_bot.py +++ b/mesh_bot.py @@ -337,9 +337,6 @@ def send_message(message, ch, nodeid): # Send to DM print (f"{log_timestamp()} System: Sending Multi-Chunk: {m} To: {get_name_from_number(nodeid)}") interface.sendText(text=m,channelIndex=ch, destinationId=nodeid) - # # wait a 500ms to avoid message collision except after last message - # if message_list.index(m) < len(message_list) - 1: - # time.sleep(0.5) else: # message is less than 160 characters if nodeid == 0: # Send to channel @@ -350,7 +347,6 @@ def send_message(message, ch, nodeid): print (f"{log_timestamp()} System: Sending: {message} To: {get_name_from_number(nodeid)}") interface.sendText(text=message, channelIndex=ch, destinationId=nodeid) - def exit_handler(signum, frame): print("\nSystem: Closing Autoresponder") interface.close()