I'm starting with wit.ai, I'm trying to create a simple messenger bot, I have everything working on facebook but I'm struggling with a simple task how to make the bot reply a different phrase based on the response given by the user.
Example:
User: Hello Bot: Hi, Do you want to listen a joke?
User: Yes Bot: [Tell a Joke]
or
User: No Bot: Ok bye bye!
This seems to be very simple but I'm struggling with it. Some one can make an example how to make this?
Note: I know that there are a doc about this issue on wit.ai documentation, but even with that information I can't put this simple bot working.