Update command_handlers.py

This commit is contained in:
ReneKlever 2025-03-24 21:00:43 +01:00 committed by GitHub
parent 5bd99eba83
commit 5b17ec7d25
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -69,7 +69,7 @@ def handle_help_command(sender_id, interface, menu_name=None):
logging.info(f"The node_id: {node_id} is not allowed to enter this bbs") # Debug statement
elif update_user_state(sender_id, {'command': 'MAIN_MENU', 'step': 1}) # Reset to main menu state
mail = get_mail(get_node_id_from_num(sender_id, interface))
response = build_menu(main_menu_items, f"💾TC² BBS💾 (✉️:{len(mail)})")
response = build_menu(main_menu_items, f"💾NieuwAlphen BBS💾 (✉️:{len(mail)})")
send_message(response, sender_id, interface)
def get_node_name(node_id, interface):