0

我希望我的机器人只有在有人提到它的名字时才会回应@mybot

如何做到这一点?

4

1 回答 1

0

For that you need to use the Events API and subscribe to the event app_metion.

That way your app will receive all message that directly mention your bot with @mybot.

Those messages will be sent as request from Slack to the endpoint provided for receiving events.

于 2018-11-11T22:39:56.163 回答