Automatically archive disused channels.
Your slack app needs...
- These bot scopes:
- app_mentions:read
- channels:history
- channels:join
- channels:manage
- channels:read
- chat:write
- Enable Socket Mode
- Subscribe these bot events:
- app_mention
- channel_created
- channel_unarchive
Copy .env.sample
to .env
Edit SLACK_BOT_TOKEN
and SLACK_APP_TOKEN
You can start Channel Killer by this command:
$ npm start
- @username list [0-9]+days
- Shows the list of channels that is disused for n days
- @username kill [0-9]+days
- Archive disused channels
$ npm stop