Skip to content

Simple archiver for infrequently used Slack channels.

License

Notifications You must be signed in to change notification settings

springernature/slack-channel-archiver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Slack Channel Archiver

A tool to help archive channels that haven't been used for a while.

Running

You'll need the following pre-requisites.

  • Ruby 2.5.1
  • Bundler

Then run:

bin/slack-channel-archiver

On the first run it'll install dependencies, which may be a bit noisy.

You'll need an API token to run it. This can be specified in three ways, in order of priority:

  1. Pass it as the first argument, e.g. bin/slack-channel-archiver api-token
  2. Set it as env var SLACK_API_TOKEN, e.g. SLACK_API_TOKEN=api-token bin/slack-channel-archiver
  3. Set in ~/.slack-channel-archiver, e.g. api-token: an-api-token

You can obtain a new API token by creating a new Bot Integration in Slack.

About

Simple archiver for infrequently used Slack channels.

Topics

Resources

License

Stars

Watchers

Forks