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

Wait for the user's response #22

Open
fedebisignani opened this issue Apr 4, 2018 · 1 comment
Open

Wait for the user's response #22

fedebisignani opened this issue Apr 4, 2018 · 1 comment

Comments

@fedebisignani
Copy link

Is there a way that within a command, the bot waits for an answer?

Example:

User command: get_forecast
Bot answer: Where?
User: "new york"

Everything within the same command

@wardellbagby
Copy link
Contributor

No, not currently. It's an async loop, where every new message from a user is treated as the first message. There's no state or waiting logic currently in place.

This can be done, but it will be a fundamental change to how the bot handles messages.

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

No branches or pull requests

2 participants