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

slacker.Error: method_deprecated #37

Open
miguelperezit opened this issue Jun 22, 2020 · 3 comments
Open

slacker.Error: method_deprecated #37

miguelperezit opened this issue Jun 22, 2020 · 3 comments

Comments

@miguelperezit
Copy link

Hi there,
Any plans for updating this amazing tool with the new methods¿?

Traceback (most recent call last):
  File "slack_export.py", line 345, in <module>
    bootstrapKeyValues()
  File "slack_export.py", line 245, in bootstrapKeyValues
    channels = slack.channels.list().body['channels']
  File "/usr/local/lib/python3.7/site-packages/slacker/__init__.py", line 428, in list
    'exclude_members': exclude_members})
  File "/usr/local/lib/python3.7/site-packages/slacker/__init__.py", line 120, in get
    api, **kwargs
  File "/usr/local/lib/python3.7/site-packages/slacker/__init__.py", line 102, in _request
    raise Error(response.error)
slacker.Error: method_deprecated

Thanks!

@lumbric
Copy link

lumbric commented Jun 24, 2020

see #33

@shanness
Copy link

shanness commented May 4, 2021

Does this mean even if you have old legacy tokens you can't use them any more for this?

@shanness
Copy link

shanness commented May 4, 2021

Answered my own question, you CAN use legacy tokens, you just need to use the fork mentioned in #33

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

3 participants