errbotio / errbot

Errbot is a chatbot, a daemon that connects to your favorite chat service and bring your tools and some fun into the conversation.
http://errbot.io
GNU General Public License v3.0
3.12k stars 614 forks source link

SlackRTM channel members endpoint #1501

Closed gdelaney closed 3 years ago

gdelaney commented 3 years ago

In order to let us help you better, please fill out the following fields as best you can:

I am...

I am running...

Issue description

when trying to get the list of users in a slack channel, its throwing the following error message: errbot.backends.base.RoomDoesNotExistError: #XXXX does not exist (or is a private group you don't have access to)

I know the room exists and the bot is a member of it. I think the issue is that the conversations.info slack endpoint used in the slackrtm backend does not contain the list of members. The slack backend uses conversations.members to return the list of members.

Steps to reproduce

Use the SlackRTM backend and try return the list of users in a public channel

Additional info

errbot==6.1.7 slackclient==2.9.3

Using slack on an enterprise grid/workspace.

nzlosh commented 3 years ago

Would you like to try the slackv3 backend https://github.com/nzlosh/err-backend-slackv3 to see if it handles your use case?

sijis commented 3 years ago

I strongly suggest using the slack-v3 mentioned.