Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

print('users', s.users) output is blank? #93

Open
level42ca opened this issue Nov 20, 2023 · 0 comments
Open

print('users', s.users) output is blank? #93

level42ca opened this issue Nov 20, 2023 · 0 comments
Labels
question Further information is requested

Comments

@level42ca
Copy link

level42ca commented Nov 20, 2023

Script seems to be working fine, but I'm just curious why print('users', s.users) yields users [].

print('public channels', s.channels)
print('private channels', s.groups)
print('instant messages', s.ims)
print('multi user direct messages', s.mpim)

All these other prints, output the appropriate data. I have already double checked my scopes, and they are as follows:

[channels:history](https://api.slack.com/scopes/channels:history)
View messages and other content in a user’s public channels

[channels:read](https://api.slack.com/scopes/channels:read)
View basic information about public channels in a workspace

[chat:write](https://api.slack.com/scopes/chat:write)
Send messages on a user’s behalf

[files:read](https://api.slack.com/scopes/files:read)
View files shared in channels and conversations that a user has access to

[files:write](https://api.slack.com/scopes/files:write)
Upload, edit, and delete files on a user’s behalf

[groups:history](https://api.slack.com/scopes/groups:history)
View messages and other content in a user’s private channels

[groups:read](https://api.slack.com/scopes/groups:read)
View basic information about a user’s private channels

[im:history](https://api.slack.com/scopes/im:history)
View messages and other content in a user’s direct messages

[im:read](https://api.slack.com/scopes/im:read)
View basic information about a user’s direct messages

[mpim:history](https://api.slack.com/scopes/mpim:history)
View messages and other content in a user’s group direct messages

[mpim:read](https://api.slack.com/scopes/mpim:read)
View basic information about a user’s group direct messages

[users:read](https://api.slack.com/scopes/users:read)
View people in a workspace

Is this simply the desired output? Or am I missing something here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant