hubot-archive / hubot-pager-me

PagerDuty integration for Hubot
https://www.npmjs.com/package/hubot-pager-me
MIT License
73 stars 92 forks source link

Doesn't seem to support spaces in the name of a schedule #99

Open prozach opened 8 years ago

prozach commented 8 years ago

Asking pager schedules returns a list of schedules fine, but running pager me Ops Level 2 Schedule 1 or pager me Ops\ Level\ 2\ Schedule 1 or pager me "Ops Level 2 Schedule 1" or pager me "Ops\ Level\ 2\ Schedule" 1 all fail to find the correct schedule. The obvious answer is to rename our schedules, but a fix here would keep me from having to make that change across are numerous schedules.

awiddersheim commented 8 years ago

This kind of does this https://github.com/hubot-scripts/hubot-pager-me/pull/89 maybe not with schedules but could use it as a blueprint to maybe contribute what you need.