leo-bot

A very simple bot based on Botkit to notice you when it’s time to pick up your child at school!

Slack screen capture

Installation

npm install

Slack token

You need to set an environment variable:

export SLACK_BOT_TOKEN="xoxb-XXXXXXXXXXXX-XXXXXXXXXXXXXXXXXXXXXXXX"

You’ll find SLACK_BOT_TOKEN at https://my.slack.com/apps/A0F7YS25R-bots.

Slack channels

The bot daily message is sent to:

Usage

# Served with hot reload (+ ESLint verification).
npm run dev

# Run ESLint to check if code respects it's syntax.
npm run lint

# Start server in production environment.
npm run start

Supported commands

Just ask help to @leo-bot.

Deploy

Heroku

heroku create --buildpack https://github.com/heroku/heroku-buildpack-nodejs.git
heroku config:set SLACK_BOT_TOKEN=xoxb-XXXXXXXXXXXX-XXXXXXXXXXXXXXXXXXXXXXXX
heroku config:set TZ=Europe/Paris
heroku ps:scale web=0 worker=1

Development

This project uses ESLint for its syntax. You should read some documentation before.

License

leo-bot is a free software distributed under the terms of the MIT license.

Copyright (c) Arnaud Ligny