Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exiting from ability on another command #1247

Open
vicmosin opened this issue Jul 16, 2023 · 0 comments
Open

Exiting from ability on another command #1247

vicmosin opened this issue Jul 16, 2023 · 0 comments
Labels

Comments

@vicmosin
Copy link

I do have an ability which handles user's input with reply method. Now, imagine the following:

User: /set-age
Bot: what's your age?
User: /some-command
Bot: I am sorry, you input should be a digit

What I want to achieve is that once bot in some particular command and user uses another command, bot should stop handling the previous command and switch to a new one.
Could not find such functionality in docs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants