Skip to content

Doarakko/252

Repository files navigation

252

Slack bot that sends a message to the last person in the office using attendance log in Slack channel.

attendance

You can list people who are still in the office and working.

252

Prevents the office from being locked when someone is in the office.

Requirements

  • Node.js
  • Slack
  • Heroku

Usage

1. Create Slack App using manifest.yml

2. make .env

cp .env.example .env

Enter your environment variables to .env.

SLACK_APP_TOKEN=xapp-aaaa
SLACK_BOT_TOKEN=xoxb-bbbb
SLACK_CHANNEL_ID=CCCCCCCC
SLACK_IN_OFFICE_MESSAGE=:in_office:
SLACK_OUT_OFFICE_MESSAGE=:out_office:
SLACK_IN_HOME_MESSAGE=:in_home:
SLACK_OUT_HOME_MESSAGE=:out_home:

3. Run

npm run dev

Run on Heroku

Deploy

About

Slack bot that sends a message to the last person in the office using attendance log in Slack channel.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project