only match whole words on "assa?"

This commit is contained in:
Michele Guerini Rocco 2018-06-12 13:42:51 +00:00
parent 880319e035
commit dfe44218c0
Signed by: rnhmjoj
GPG Key ID: 91BE884FBA4B591A

View File

@ -124,5 +124,5 @@ module.exports = (robot) ->
robot.respond /ci sei\?/i, (res) ->
res.send res.random confirm
robot.hear /assa\?/, (res) ->
robot.hear /\bassa\?/, (res) ->
res.send res.random confirm