How to join a Slack channel as a Real Time Messaging bot user?

I had the same issue and wasnt sure why my bot was only listening to certain channels.

Your bot will need to be invited to each channel by a user. Run this command within the required channel in the Slack app to do so

/invite @<your_bot_name>

Once in the channel they should then be able to listen to events.

Leave a Comment