Open rhwy opened 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:
Try
cmd:
but unknown -> show admin errorFragmentForUnknownCommand
then show the sequence defined hereon error:
Note:
FragmentForUnknownCommand
in our latest Messenger bot (Art Buddy)One thing worth noting:
/data/bot/sequences/smalltalk/AreYouHuman.json
was used as the default fragment for FragmentForUnknownCommand
...From Slack: https://wavemining.slack.com/archives/C96TSRCHE/p1548078102002500
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?