A never-ending supply of cold beer at KI labs to maintain employee happiness
This repository is the central location for all things related to the beloved BeerBot.
Tread carefully since this is an extremely important project within KI labs.
BeerBot is a slackbot capable of the following:
BeerBot can be installed by cloning this repo and its python requirements.
$ pip3 install -r requirements.txt
Minimal configuration with a .envrc
file based on .envrc.template
is required in order to link with Slack.
SLACK_OAUTH_TOKEN=
SLACK_BOT_OAUTH_TOKEN=
CHANNEL=
LISTEN_DELAY=1
ALERT_DELAY=10
MIN_BEER_THRESHOLD=5
DATA_DIR="/home/pi/BeerBot/data"
TZ="Europe/Berlin"
There are three scripts for running the BeerBot engine.
./beerbot.py
./slackbot_alert.py
./slackbot_listener.py
These processes are deployed with supervisor in ./supervisor/*.conf
, see this for installation and setup.