Skip to content

channels.list deprecated #40

@pwoolvett

Description

@pwoolvett

Today slack-cli stopped working

https://api.slack.com/changelog/2020-01-deprecating-antecedents-to-the-conversations-api

We'll stop allowing newly created Slack apps to use these deprecated APIs beginning June 10th, 2020.

:(

related: os/slacker#116

temporary workaround (I dunno about side effects, Im only using it to PM me):

  1. upgrade slacker: pip install --upgrade slacker
  2. change the channel fetcher in slackcli.messaging:iter_resources to lambda: slack.client().conversations.list().body["channels"]
  3. comment out the group fetcher

EDIT: This no longer works as pkg_resources avoids newer slacker versions, as reported by @william-dowling

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions