Fix regex to allow questions
This commit is contained in:
parent
ea408b3b34
commit
22708faa59
@ -96,7 +96,7 @@ module.exports = (robot) ->
|
||||
else
|
||||
res.send "fatto!"
|
||||
|
||||
robot.respond /(mi )?invit(i|ami) (in|nel gruppo) (.+)\??/, (res) ->
|
||||
robot.respond /(mi )?invit(i|ami) (in|nel gruppo) ([^?]+)\??/, (res) ->
|
||||
denied = ['BZBZ ADMIN-NOT-DETECTED', 'BZBZ IS-NOT-AUTHORIZED', 'BZBZ ACCESS-DENIED']
|
||||
nope = ['ahahah NO', 'mai sentito questo?', 'invita anche me magari']
|
||||
ok = ['provvedo subito', 'ok', 'certo', 'va bene']
|
||||
|
Loading…
Reference in New Issue
Block a user