From d87f8793915a9c84d103337ca316655a6c4ecc13 Mon Sep 17 00:00:00 2001 From: Blergo Date: Tue, 2 Jul 2024 11:03:56 +0100 Subject: [PATCH] Fixed stats steps --- command_handlers.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/command_handlers.py b/command_handlers.py index 0c6f14e..e27bbd8 100644 --- a/command_handlers.py +++ b/command_handlers.py @@ -105,13 +105,12 @@ def handle_fortune_command(sender_id, interface): def handle_stats_steps(sender_id, message, step, interface, bbs_nodes): if step == 1: - choice = int(choice) + choice = int(message) if choice == 2: handle_help_command(sender_id, interface) return elif step == 2: - choice = int(choice) if choice == 3: handle_help_command(sender_id, interface) return