0.0.5 • Published 3 years ago

slack-dnd-cli v0.0.5

Weekly downloads
20
License
-
Repository
-
Last release
3 years ago

About

This is CLI tool to enable/disable your Slack.

How to configure?

  1. Generate SLACK_TOKEN by creating a new app https://api.slack.com/apps
  2. Open the "Oauth & Permissions"
  3. Add a new scope that will allow you to control DND
  • scroll down to User Token Scopes
  • add scope dnd:write
  1. Install slack-dnd-cli with npm
  • npm i -g slack-dnd-cli

How to use?

Add SLACK_TOKEN to your env or add this environment variable to the command e.g.: SLACK=TOKEN=your-slack-token slack-dnd-cli --dnd start --time 25

Example commands:

  • slack-dnd-cli --dnd start --time 25 starts DND mode for 25 minutes
  • slack-dnd-cli --dnd stop ends DND mode
0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago