channels.join
is not allowed for bot users. I would like my RTM-using bot to listen to channels other than the one listed in the bot integration page.
I don't see a way to change the channels in the bot integration page:
Is this just a limitation of bots or am I missing something fundamental here?
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.