mirror of
https://github.com/TheCommsChannel/TC2-BBS-mesh.git
synced 2024-10-01 01:15:36 -04:00
Update command_handlers.py
This commit is contained in:
parent
b778b8b6cd
commit
5adb682ff7
@ -63,7 +63,9 @@ def handle_help_command(sender_id, interface, menu_name=None):
|
||||
update_user_state(sender_id, {'command': 'MAIN_MENU', 'step': 1}) # Reset to main menu state
|
||||
response = build_menu(main_menu_items, "💾TC² BBS💾")
|
||||
send_message(response, sender_id, interface)
|
||||
|
||||
mail = get_mail(get_node_id_from_num(sender_id, interface))
|
||||
if mail:
|
||||
send_message(f"You have {len(mail)} mail messages.", sender_id, interface)
|
||||
|
||||
def get_node_name(node_id, interface):
|
||||
node_info = interface.nodes.get(node_id)
|
||||
|
Loading…
Reference in New Issue
Block a user