Update slack.md

This commit is contained in:
Yo-An Lin 2021-12-07 00:45:38 +08:00 committed by GitHub
parent 0c272d2ce2
commit 8fc8608997

View File

@ -1,5 +1,13 @@
### Setting up Slack Notification
Go to the Slack apps page to create your own slack app:
<https://api.slack.com/apps>
Click "Install your app" -> "Install to Workspace"
Copy the *Bot User OAuth Token*.
Put your slack bot token in the `.env.local` file:
```sh
@ -21,3 +29,9 @@ notifications:
order: "$slient"
submitOrder: "$slient"
```
Besure to add your bot to the public channel by clicking "Add slack app to channel".
## See Also
- <https://www.ibm.com/docs/en/z-chatops/1.1.0?topic=slack-adding-your-bot-user-your-channel>