Update command_handlers.py

Fix BBS Menu
This commit is contained in:
TC² 2025-02-14 07:15:10 -05:00
parent 27279577dd
commit 7ebcd2fa23

View File

@ -32,7 +32,10 @@ def build_menu(items, menu_name):
if item.strip() == 'Q':
menu_str += "[Q]uick Commands\n"
elif item.strip() == 'B':
menu_str += "[B]BS\n"
if menu_name == "📰BBS Menu📰":
menu_str += "[B]ulletins\n"
else:
menu_str += "[B]BS\n"
elif item.strip() == 'U':
menu_str += "[U]tilities\n"
elif item.strip() == 'X':
@ -51,7 +54,6 @@ def build_menu(items, menu_name):
menu_str += "[W]all of Shame\n"
return menu_str
def handle_help_command(sender_id, interface, menu_name=None):
if menu_name:
update_user_state(sender_id, {'command': 'MENU', 'menu': menu_name, 'step': 1})