Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ $ slack-cli-stream --settings setting.yaml
- hooks
- user: フックさせる際に対象ユーザーを固定する場合に指定
- channel: フックさせる際に対象チャンネルを固定する場合に指定
- keyword: 特定のキーワードのみにフックさせる場合に指定
- keyword: 特定のキーワードのみにフックさせる場合に指定(完全一致)
- prefix: 特定の文字列で始まるメッセージにフックさせる場合に指定(前方一致)
- cron: 設定に記載したhookの発動条件をcron表記で指定
- hook: フック条件に合致し、発火した場合に実行するコマンドを記述
- theme
Expand All @@ -53,6 +54,11 @@ hooks:
channel: general
keyword: hello
hook: say hello
-
user: hideack
channel: general
prefix: "!deploy"
hook: /path/to/deploy.sh
-
cron: "*/5 12-23 * * *"
hook: "curl -X POST -d "fizz=buzz2" http://requestbin.fullcontact.com/xxxxxxx"
Expand Down
Loading