NGRP / node-red-contrib-viseo

Node-RED nodes OpenSourced by VISEO Technologies
Apache License 2.0
227 stars 83 forks source link

add a parameter to define the reset command pattern #116

Closed jbinard closed 5 years ago

jbinard commented 5 years ago

Currently, the regex to detect the reset command is hardcoded in the bot builder node with "/^reset/i". We have one bot which should answer to the query "reset my password" but it actually reset the conversation. The pattern use to detect the reset command should be a parameter of the bot builder node so we can personnalize it for each bot.