From 8387b9d5aacfcb1c8713a2cd83b9343dc236e0d9 Mon Sep 17 00:00:00 2001 From: Blergo Date: Tue, 2 Jul 2024 11:10:55 +0100 Subject: [PATCH] More stats menu work to incorporste server stats --- command_handlers.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/command_handlers.py b/command_handlers.py index e27bbd8..f5e9843 100644 --- a/command_handlers.py +++ b/command_handlers.py @@ -109,6 +109,15 @@ def handle_stats_steps(sender_id, message, step, interface, bbs_nodes): if choice == 2: handle_help_command(sender_id, interface) return + if choice == 0: + response = "What stats would you like to view?\n\n[0]Node Numbers\n[1]Hardware\n[2]Roles\n[3]Main Menu" + send_message(response, sender_id, interface) + update_user_state(sender_id, {'command': 'STATS', 'step': 2}) + if choice == 1: + response = "COMING SOON!!" + send_message(response, sender_id, interface) + handle_help_command(sender_id, interface) + return elif step == 2: if choice == 3: