Fix "gg wp" regex again

Last time hopefully
This commit is contained in:
Michele Guerini Rocco 2015-10-28 16:00:58 +01:00
parent 52f1446491
commit a68326f13c

View File

@ -66,7 +66,7 @@ module.exports = (robot) ->
res.send res.random(stato)+'. tu?'
robot.respond /ridi/i, (res)->
res.send res.random risata
robot.hear /(^|.+ )gg(?!.*wp).*$/i, (res)->
robot.hear /(^|.+ )gg(?!.*wp)( .+)?$/i, (res)->
res.send 'wp'
robot.hear /^bravo (\w+).?$/i, (res)->
unless res.match[1].match /asjon|assa|assion|assioni(?:i|e)/i