Skip to content
This repository has been archived by the owner on Dec 28, 2021. It is now read-only.

Latest commit

 

History

History
25 lines (15 loc) · 779 Bytes

README.md

File metadata and controls

25 lines (15 loc) · 779 Bytes

Slack Autoresponder

A quick and dirty out-of-office autoresponder for Slack. For everyone who has had the "Slack isn't e-mail, but..." conversation.

Setup

Optionally set a different away message in responder.py.

You'll need a Slack Legacy Token.

Build the container:

docker build -t slack-autoresponder:latest .

Run the container:

docker run \
  -e SLACK_TOKEN=$YOUR_LEGACY_TOKEN \
  --restart=always \
  --name autoresponder \
  -d slack-autoresponder:latest

Caveats

It's a quick and dirty python script with hardly any error handling. Probably don't commit your legacy token to any repos. Be aware of what you leave behind in your bash history. Definitely run at your own risk.