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

DM failure #17

Open
Quantum-cross opened this issue Feb 4, 2016 · 0 comments
Open

DM failure #17

Quantum-cross opened this issue Feb 4, 2016 · 0 comments

Comments

@Quantum-cross
Copy link

Trying to DM someone with a code snippet and I get this output:

~ » xclip -o | slackcat -u someone
/home/robert/.gem/ruby/2.2.0/gems/slackcat-0.2.5/bin/slackcat:17:in `block in get_objects': error retrieving members from users.list: missing_scope (RuntimeError)
    from /home/robert/.gem/ruby/2.2.0/gems/httparty-0.13.7/lib/httparty/response.rb:35:in `tap'
    from /home/robert/.gem/ruby/2.2.0/gems/slackcat-0.2.5/bin/slackcat:16:in `get_objects'
    from /home/robert/.gem/ruby/2.2.0/gems/slackcat-0.2.5/bin/slackcat:34:in `users'
    from /home/robert/.gem/ruby/2.2.0/gems/slackcat-0.2.5/bin/slackcat:44:in `im_for_user'
    from /home/robert/.gem/ruby/2.2.0/gems/slackcat-0.2.5/bin/slackcat:126:in `block in <top (required)>'
    from /home/robert/.gem/ruby/2.2.0/gems/slackcat-0.2.5/bin/slackcat:125:in `map'
    from /home/robert/.gem/ruby/2.2.0/gems/slackcat-0.2.5/bin/slackcat:125:in `<top (required)>'
    from /home/robert/.gem/ruby/2.2.0/bin/slackcat:23:in `load'
    from /home/robert/.gem/ruby/2.2.0/bin/slackcat:23:in `<main>'

I have my API token setup correctly because this works:
echo "testing" | slackcat -c off-topic

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