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

@ -170,6 +170,8 @@ def process_message(sender_id, message, interface, is_sync_message=False):
handle_group_message_selection(sender_id, message, step, state, interface) handle_group_message_selection(sender_id, message, step, state, interface)
else: else:
handle_help_command(sender_id, interface) handle_help_command(sender_id, interface)
else:
handle_help_command(sender_id, interface)
def on_receive(packet, interface): def on_receive(packet, interface):