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

Display names are not always the same as usernames #20

Open
jeffzemla opened this issue Jul 2, 2019 · 0 comments
Open

Display names are not always the same as usernames #20

jeffzemla opened this issue Jul 2, 2019 · 0 comments

Comments

@jeffzemla
Copy link
Collaborator

Occasionally, a user may have a handle @xyz in Slack but (e.g.) jarjar -u "@xyz" -m "test" will result in UserWarning: Response code 404: channel_not_found

This is because display names are not the same as usernames. As a workaround, you can specify a user's Member ID (found in their Slack profile).

You can also find their username using the first part of their e-mail address (e.g., if the listed e-mail address for @xyz is [email protected], then their username is @xyz_user). At least, this worked the one time we ran into this issue...

Potential fix: If jarjar gets a 404 user not found error, try to look up the username attached to that display name (how?) and try again.

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

No branches or pull requests

1 participant