Skip to content
This repository was archived by the owner on Jul 23, 2024. It is now read-only.

Latest commit

 

History

79 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Slack Channel Killer

Automatically archive disused channels.

Required Permissions

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

Run Channel Killer

Copy .env.sample to .env Edit SLACK_BOT_TOKEN and SLACK_APP_TOKEN

You can start Channel Killer by this command:

$ npm start

Channel Killer's Command

  • @username list [0-9]+days
    • Shows the list of channels that is disused for n days
  • @username kill [0-9]+days
    • Archive disused channels

Stop Channel Killer

$ npm stop

About

長期間発言のないslackのチャンネルを殺す(archive)

Topics

Resources

Stars

10 stars

Watchers

25 watching

Forks

Releases

Packages

Used by

Contributors

Languages