stripe-contrib / pagerbot

Manage Pagerduty on-call schedules from within your internal chat channels.
https://stripe.com/blog/pagerbot
MIT License
277 stars 90 forks source link

pagerbot and private groups inside of slack #24

Closed awesinine closed 7 years ago

awesinine commented 9 years ago

Loving Pagerbot! It seems as if it doesn't work in private groups within slack. Is this by design or did I miss something on the config side?

macobo commented 9 years ago

Sadly this is a design limitation; Pagerbot uses outgoing webhooks to get data from slack, but as the docs say:

The outgoing webhook integration is only available in public channels. If you would like to get data out of private groups and DMs in real-time, try a slash command.

Hopefully this isn't a deal-breaker; let me know if there's anything I can do to help!

amalakar commented 7 years ago

I think slash-command do not have this limitation, and supports making http post call (similar to outgoing webhooks I believe). That may help us get rid of this limitation.

macobo commented 7 years ago

The latest master has Slack Real Time Messaging support which should support this use-case.

Please test and let us know how it works! :)