Filter links?
parkr opened this issue · comments
Yo,
Using hubot-pager-me in Slack. Not sure if this is a problem with the slack adapter or something that can be done here, but Hubot receives formatted messages for emails:
$ /pager me user@vsco.co test
[Thu Mar 26 2015 19:31:58 GMT+0000 (UTC)] DEBUG Received message: 'pager trigger <mailto:user@vsco.co|user@vsco.co> test' in channel: parker, from: parker
Would it be possible to filter the user here or allow us to default the user domain like:
HUBOT_PAGERDUTY_DEFAULT_USER_DOMAIN=vsco.co
$ /pager me user test
[Thu Mar 26 2015 19:31:58 GMT+0000 (UTC)] DEBUG Received message: 'pager trigger user test' in channel: parker, from: parker
[Thu Mar 26 2015 19:31:58 GMT+0000 (UTC)] DEBUG Sending to PagerDuty: 'test to user@vsco.co'
Upgrade to hubot-slack v3.3.