Merge pull request #71 from pitbullcoder/main

[BUGFIX] Missing else statement to reset user state and respond with menu if user sends h or help multiple times or sends h or help from any sub menu
This commit is contained in:
TC² 2024-07-28 12:54:55 -04:00 committed by GitHub
commit 2dda18008d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -168,6 +168,8 @@ def process_message(sender_id, message, interface, is_sync_message=False):
handle_js8call_steps(sender_id, message, step, interface, state)
elif command == 'GROUP_MESSAGES':
handle_group_message_selection(sender_id, message, step, state, interface)
else:
handle_help_command(sender_id, interface)
else:
handle_help_command(sender_id, interface)