This is was Gratipay's version of GitHub's Campfire bot, hubot. He's pretty cool.
Roobot was powered off on 18th October 2016. https://github.com/gratipay/inside.gratipay.com/issues/834
To test roobot locally:
git clone git@github.com:gratipay/roobot.git && cd roobot
npm install
bin/hubot -n roobot
roobot is composed of a core (hubot) and a set of scripts. The configuration is done through environment variables.
Scripts come for three sources:
hubot-scripts.json
file, it adds scripts from the official hubot-scripts repositoryexternal-scripts.json
file, it adds scripts from standalone repositories (e.g. hubot-seen)scripts
directories, it contains our own custom scriptsTake a look at the Scripting Guide if you want to write a new script.
git remote add heroku git@heroku.com:roobot-test.git
git remote add heroku-prod git@heroku.com:roobot-prod.git
# Deploy to the test channel
git push heroku
# Confirm the bot is working in #gratipay-test
# Take a look at the logs if there is a problem:
# heroku -a roobot-test logs -t
# If all is well deploy to the prod channel (i.e. #gratipay)
git push heroku-prod
You may want to get comfortable with heroku logs
and heroku restart
if you're having issues.