alfred-slack icon indicating copy to clipboard operation
alfred-slack copied to clipboard

Toggle DND

Open ubuntudroid opened this issue 5 years ago • 1 comments

Right now it doesn't seem to be possible to enable DND via the workflow.

The according endpoints would be

https://api.slack.com/methods/dnd.setSnooze

and

https://api.slack.com/methods/dnd.endDnd or https://api.slack.com/methods/dnd.endSnooze

In my own scripts I was always using the dnd.endDnd endpoint, but it might just be an alias for the dnd.endSnooze one.

ubuntudroid avatar Oct 25 '18 07:10 ubuntudroid

+1 for implementing this

filipruisl avatar Feb 26 '19 10:02 filipruisl