Slack bot that sends a message to the last person in the office using attendance log in Slack channel.
You can list people who are still in the office and working.
Prevents the office from being locked when someone is in the office.
- Node.js
- Slack
- Heroku
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:
npm run dev