I want my bot to respond only if anyone mentions its name like @mybot.
How to achieve this?
I want my bot to respond only if anyone mentions its name like @mybot.
How to achieve this?
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.