mirror of
https://github.com/TheCommsChannel/TC2-BBS-mesh.git
synced 2025-03-13 02:46:30 -04:00
Update command_handlers.py
Fix BBS Menu
This commit is contained in:
parent
27279577dd
commit
7ebcd2fa23
@ -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})
|
||||
|
Loading…
x
Reference in New Issue
Block a user