mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 14:55:16 +00:00
Update slack.md
This commit is contained in:
parent
0c272d2ce2
commit
8fc8608997
|
@ -1,5 +1,13 @@
|
||||||
### Setting up Slack Notification
|
### 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:
|
Put your slack bot token in the `.env.local` file:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
|
@ -21,3 +29,9 @@ notifications:
|
||||||
order: "$slient"
|
order: "$slient"
|
||||||
submitOrder: "$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>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user