Skip to content

Commit

Permalink
Merge pull request #154 from catatsuy/feature_mod_readme
Browse files Browse the repository at this point in the history
Update Slack API note in README.md
  • Loading branch information
catatsuy authored Apr 28, 2024
2 parents 4d6c558 + 02c640b commit ee0ebc7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ icon_emoji = ":rocket:"
interval = "1s"
```

Note:
### Note

* You will need to specify a url if you want to post messages to Slack as text
* You can use the following options to customize your message when posting to Slack as text: `channel`, `username`, `icon_emoji`, and `interval`.
Expand All @@ -114,7 +114,7 @@ Note:
* The `username` and `icon_emoji` options will be ignored when posting a file as a snippet to Slack.
* For instructions on how to create a token, please see the next section.
* You cannot specify a channel because the slack api support only the `channel_id`.
* If you don't specify `channel_id`, the file will be private. So, if you need to post a file public, you must specify `channel_id`.
* If you don't specify `channel_id`, the file will be private. So, **if you need to post a file public, you must specify `channel_id`**.
* The Slack API can cause delays, so posting might take longer.

### How to create a token
Expand Down

0 comments on commit ee0ebc7

Please sign in to comment.