slack-autoarchive
slack-autoarchive copied to clipboard
If there has been no activity in a channel for awhile, you can automatically archive it using a cronjob.
I apologize for creating what looks like an identical issue. This appears to be a different segment of code giving me the error. See this screenshot: ![Screen Shot 2022-01-20 at...
Replaced deprecated channels endpoints with conversations endpoints. Slack announcement https://api.slack.com/changelog/2020-01-deprecating-antecedents-to-the-conversations-api#:~:text=The%20final%20date%20for%20existing,All%20channels. Added ability to iterate over large list of channels using paging and cursors.
``` root@bot:~/slack-autoarchive# docker run -e SLACK_TOKEN=xxxxx autoarchive 2020-04-09 23:40:35,604 - INFO - THIS IS A DRY RUN. NO CHANNELS ARE ACTUALLY ARCHIVED. .Traceback (most recent call last): File "slack_autoarchive.py", line...
Slack has depreciated all of the channels.* methods to migrate to the conversation ones. https://api.slack.com/methods/channels.history https://api.slack.com/methods/channels.join https://api.slack.com/methods/channels.list https://api.slack.com/methods/channels.info https://api.slack.com/methods/channels.archive These methods are deprecated. They will stop functioning in February 2021...
Because users will need to re-subscribe to a channel that has been restored from an archived state, a warning message before the channel is archived would be helpful. Something like...
It seems so that this script isn't maintained anymore. I forked this repository and applied the following changes: * Migrated to the new Slack API (using the changes from from...