bcicen / slackcat

CLI utility to post files and command output to slack
http://slackcat.chat
MIT License
1.22k stars 57 forks source link

Legacy Slack API #71

Closed n0madic closed 3 years ago

n0madic commented 4 years ago

The package github.com/bluele/slack uses a legacy Slack API, for example, calling the channels.list method returns a warning:

[WARN] This method is deprecated and is scheduled to cease functioning on 2021-02-24. Please use conversations.list or users.conversations instead. Learn more: https://api.slack.com/changelog/2020-01-deprecating-antecedents-to-the-conversations-api.

Slack App tokens don't work at all with this method...

I think it's time to move to modern libraries, for example github.com/slack-go/slack, before the utility stops working...

nikolay commented 3 years ago

@bcicen It stopped working today.

frankcrawford commented 3 years ago

So, does this mean it is totally dead? Or is there a plan to fix it?

nikolay commented 3 years ago

@frankcrawford Yes, it looks dead to me. I started to work on a simple CLI wrapper of https://github.com/slack-go/slack.

n0madic commented 3 years ago

Made a pull request #75 with a working lib

bcicen commented 3 years ago

fix now published in v1.7 release