Fix "gg wp" regex again
Last time hopefully
This commit is contained in:
parent
943314e42b
commit
74626e3935
@ -66,7 +66,7 @@ module.exports = (robot) ->
|
|||||||
res.send res.random(stato)+'. tu?'
|
res.send res.random(stato)+'. tu?'
|
||||||
robot.respond /ridi/i, (res)->
|
robot.respond /ridi/i, (res)->
|
||||||
res.send res.random risata
|
res.send res.random risata
|
||||||
robot.hear /(^|.+ )gg(?!.*wp).*$/i, (res)->
|
robot.hear /(^|.+ )gg(?!.*wp)( .+)?$/i, (res)->
|
||||||
res.send 'wp'
|
res.send 'wp'
|
||||||
robot.hear /^bravo (\w+).?$/i, (res)->
|
robot.hear /^bravo (\w+).?$/i, (res)->
|
||||||
unless res.match[1].match /asjon|assa|assion|assioni(?:i|e)/i
|
unless res.match[1].match /asjon|assa|assion|assioni(?:i|e)/i
|
||||||
|
Loading…
Reference in New Issue
Block a user