From d799be94147afdfc5fbf8e492ccd5966ef03ed91 Mon Sep 17 00:00:00 2001 From: Blergo Date: Tue, 2 Jul 2024 19:15:43 +0100 Subject: [PATCH] code fix in post bulletin --- command_handlers.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/command_handlers.py b/command_handlers.py index edbcb75..313f604 100644 --- a/command_handlers.py +++ b/command_handlers.py @@ -234,7 +234,8 @@ def handle_bb_steps(sender_id, message, step, state, interface, bbs_nodes): update_user_state(sender_id, None) return sender_short_name = node_info['user'].get('shortName', f"Node {sender_id}") - unique_id = add_bulletin(board, sender_short_name, subject, content, bbs_nodes, interface) +# unique_id = add_bulletin(board, sender_short_name, subject, content, bbs_nodes, interface) + add_bulletin(board, sender_short_name, subject, content, bbs_nodes, interface) send_message(f"Your bulletin '{subject}' has been posted to {board}.\n(╯°□°)╯📄📌[{board}]", sender_id, interface) response = f"What would you like to do in the {board} board?\n\n[0]View Bulletins\n[1]Post Bulletin\n[2]Exit" send_message(response, sender_id, interface)