@@ -48,9 +48,9 @@ cp now-example.json now.json
48
48
### Step 2 - Setup Slack
49
49
50
50
1 . Create a [ Slack App] ( https://api.slack.com/apps ) for your workspace(s)
51
- 2 . Grant each app the ` users.profile:write ` privilege in ` User Token Scopes `
52
- in the ` OAuth Tokens & Redirect URLs ` view, before clicking on the "Install
53
- App" button.
51
+ 2 . Grant each app the ` users.profile:write ` ** and ** ` dnd:write ` privilege in
52
+ ` User Token Scopes ` in the ` OAuth & Permissions ` view, before
53
+ clicking on the "Install App" button.
54
54
3 . Copy and paste each ` OAuth Access Token ` into the configuration file created
55
55
in the subsequent step.
56
56
@@ -154,6 +154,15 @@ module.exports = [
154
154
* @see https://marketplace.zoom.us/docs/api-reference/webhook-reference#headers
155
155
*/
156
156
zoomVerificationToken: ' Vivamusultricies' ,
157
+ /**
158
+ * Slack DnD Status
159
+ *
160
+ * Turns on Do Not Disturb mode for the current user. Number of minutes,
161
+ * from now, to snooze until.
162
+ *
163
+ * @see https://api.slack.com/methods/dnd.setSnooze
164
+ */
165
+ dndNumMinutes: 60 ,
157
166
meetingStatus: {
158
167
text: " I'm in a meeting" ,
159
168
emoji: ' :warning:' , // emoji code
@@ -210,9 +219,9 @@ now ls
210
219
211
220
## Other solutions
212
221
213
- - https://github.com/cmmarslender/zoom-status
214
- - https://github.com/mivok/slack_status_updater with [ hammerspoon] ( http://macappstore.org/hammerspoon/ )
215
- - https://github.com/chrisscott/ZoomSlack
222
+ - < https://github.com/cmmarslender/zoom-status >
223
+ - < https://github.com/mivok/slack_status_updater > with [ hammerspoon] ( http://macappstore.org/hammerspoon/ )
224
+ - < https://github.com/chrisscott/ZoomSlack >
216
225
- [ How to automatically update your Slack status with Zapier] ( https://zapier.com/blog/automate-slack-status/ )
217
226
218
227
## References
@@ -247,4 +256,5 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
247
256
248
257
<!-- ALL-CONTRIBUTORS-LIST:END -->
249
258
250
- This project follows the [ all-contributors] ( https://github.com/all-contributors/all-contributors ) specification. Contributions of any kind welcome!
259
+ This project follows the [ all-contributors] ( https://github.com/all-contributors/all-contributors )
260
+ specification. Contributions of any kind welcome!
0 commit comments