mock-mock / mockmock-meter

0 stars 0 forks source link

Slackで`mockmock`開始したことが他のユーザーに通知されない。 #22

Open akiraisomura opened 5 years ago

akiraisomura commented 5 years ago

概要

Slackアプリはmock startのような形式で呼び出すが、レスポンスはコマンドを実行したユーザーにしか通知されない。 mockmockを開始するということはもくもくの一つのコアな役割なので、mock startしたときに他のユーザーに通知を行う。

対応

oshixtaku commented 5 years ago

https://api.slack.com/slash-commands

The response_type parameter in the JSON payload controls this visibility, by default it is set to ephemeral, but you can specify a value of in_channel to post the response into the channel, like this:

これで解消した。#timeline-oshitakuで実験済み。