slack-stockbot
A simple bot that listens and fetches a quote when someone mentions a symbol (ex $AAPL or $GOOG).
Deployment
Heroku
Setup
I had to run the following to disable web service. One time.
heroku ps:scale web=0
heroku ps:scale worker=1
The Procfile informs heroku to use a worker but I had to run the commands above in addition when I was setting up.
git remote add heroku ...
git push heroku master
Also, set the token environment variable in heroku to the token which slack issued for the bot.
heroku config:set token=TOKENFROMSLACK
Development
npm install
token=TOKENFROMSLACK node stockbot.js