Hi! We use this Hubot script a lot, but noticed that the "pager me incident NNN" command doesn't work in our environment. After debugging it turned out that it was because of the mixed-case robot name we use and the fact that the regexp pattern for this command didn't end in /i like all the other robot.respond patterns.
This makes the regexp pattern for this command more similar to the others:
Hi! We use this Hubot script a lot, but noticed that the "pager me incident NNN" command doesn't work in our environment. After debugging it turned out that it was because of the mixed-case robot name we use and the fact that the regexp pattern for this command didn't end in
/i
like all the otherrobot.respond
patterns.This makes the regexp pattern for this command more similar to the others: