Fixed stats steps

This commit is contained in:
Blergo 2024-07-02 11:03:56 +01:00
parent 230499fc9d
commit d87f879391

View file

@ -105,13 +105,12 @@ def handle_fortune_command(sender_id, interface):
def handle_stats_steps(sender_id, message, step, interface, bbs_nodes): def handle_stats_steps(sender_id, message, step, interface, bbs_nodes):
if step == 1: if step == 1:
choice = int(choice) choice = int(message)
if choice == 2: if choice == 2:
handle_help_command(sender_id, interface) handle_help_command(sender_id, interface)
return return
elif step == 2: elif step == 2:
choice = int(choice)
if choice == 3: if choice == 3:
handle_help_command(sender_id, interface) handle_help_command(sender_id, interface)
return return