From 9b7c4e9aeeac7f4f5173e3ad546fb45eabc41916 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?TC=C2=B2?= <130875305+TheCommsChannel@users.noreply.github.com> Date: Fri, 14 Feb 2025 08:17:14 -0500 Subject: [PATCH] Update command_handlers.py Fix double posting of urgent bulletins when using Quick Command --- command_handlers.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/command_handlers.py b/command_handlers.py index 195c8c7..9cfbf9c 100644 --- a/command_handlers.py +++ b/command_handlers.py @@ -524,9 +524,6 @@ def handle_post_bulletin_command(sender_id, message, interface, bbs_nodes): unique_id = add_bulletin(board_name, sender_short_name, subject, content, bbs_nodes, interface) send_message(f"Your bulletin '{subject}' has been posted to {board_name}.", sender_id, interface) - if board_name.lower() == "urgent": - notification_message = f"💥NEW URGENT BULLETIN💥\nFrom: {sender_short_name}\nTitle: {subject}" - send_message(notification_message, BROADCAST_NUM, interface) except Exception as e: logging.error(f"Error processing post bulletin command: {e}")