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

Conversations not working #2

Open
mattlibera opened this issue Jul 13, 2018 · 3 comments
Open

Conversations not working #2

mattlibera opened this issue Jul 13, 2018 · 3 comments

Comments

@mattlibera
Copy link

Not sure if this is a code issue or config issue with my bot, but after creating a very basic Bot via the Google Developer Console, my bot will respond properly to "first-level" commands, and issue the next command in the conversation thread. But, the next response is always directed back to the first level. For instance, with the sample code provided in Botman docs here: https://botman.io/2.0/conversations#starting-a-conversation

  • conversation is initiated by saying 'Hello'
  • bot responds as expected with 'Hello! What is your firstname?'
  • user replies with 'matt'
  • bot's fallback() method catches this as an unrecognized command instead of this response being delivered properly to the conversation thread.

This only happens with Hangouts Chat. The same code works fine in tinker, and in the Cisco Spark driver, hence why I am posting this here.

Are there any other suggestions or guidelines I need to follow with my bot config on Google, or is this a potential problem with the library?

@jamenlang
Copy link

jamenlang commented Dec 13, 2018

I'm having the same problem, it seems that "answers" are not being caught as such. I'm digging into it. Not getting very far,

I don't know how answers are supposed to work

user request-> bot responds with a question -> (conversationid or question has a callback assigned maybe?) -> user responds, -> (preassigned callback matches so do request...)

I don't know.

@jamenlang
Copy link

@mpociot can you verify the message flow to troubleshoot answers?

@jonodonovan
Copy link

I just now got access to a hangouts environment and am seeing the same issue.

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

3 participants