Skip to content

WebhookShrieker

Tatsuya Koishi edited this page Dec 13, 2020 · 6 revisions

概要

  • Slack Incoming Webooks互換webhookにPOSTを行う。

互換性のあるwebhookの例

  • Slack
  • Discord
    • Discordのネイティブwebhookをまず作成し、末尾に /slack を加える。
  • 拙作モロヘイヤがインストールされたFediverseインスタンス。

設定項目

/sources/*/dest/hooks

  • webhookのURLを配列で指定。

設定例

sources:
  - source:
      text: |
        高くかざしたHOLY SWORD
        また明日を切り拓いていく
    schedule:
      at: '2020/5/18 18:00'
    dest:
      hooks:
        - https://mstdn.example.com/mulukhiya/webhook/xxxxx
        - https://discordapp.com/api/webhooks/xxxxx/xxxxx/slack