GhostWording / gw-config-apis

this repo contains static json that can live through apis with github management only
0 stars 7 forks source link

[fb-bots] fix default response to user typing #40

Open rhwy opened 5 years ago

rhwy commented 5 years ago

Request : Billy [18:26] on slack

our messenger bots currently break quite badly when the user types anything for example: me and andreas made a new bot- artbuddy, yesterday if I don't type anything (aside from the first "hi") the bot works fine, but if I type even once after that, the bot will send me a random image and then stop doing anything (plays no more steps) this is a real issue for when we try to validate our bots with Facebook - the testers will certainly try to type how can we fix this?

rhwy commented 5 years ago

There is already something implemented for that but that need to be better defined. as we can see in dev master https://github.com/GhostWording/gw-config-apis/blob/master/data/bot/apps/surveypony/Dev-SequencesMasterConfig.json

we have a new section that could be used for that "FragmentForUnknownCommand":"/data/bot/sequences/smalltalk/AreYouHuman.json".

Next steps:

rhwy commented 5 years ago

this is the actual behavior on the bot engine:

andreasdieryck commented 5 years ago

Note:

One thing worth noting:

From Slack: https://wavemining.slack.com/archives/C96TSRCHE/p1548078102002500