Otterbot for Slack
This app uses Ruby 2.1.3
git clone git@github.com:joshlasdin/otterbot-slack.git
cd otterbot-slack
bundle
You'll need to set the WEBHOOK_URL and CHANNEL variables in the .env. These come from Slack in the Incoming Webhooks Integration page. CHANNEL should start with a #. See .env.example for how the file should look.
foreman start -f Procfile.dev
open http://localhost:5000
curl -X POST -d 'token=gIkuvaNzQIHg97ATvDxqgjtO&team_id=T0001&team_domain=example&channel_id=C2147483705&channel_name=test&user_id=U2147483697&user_name=Steve&command=/weather&text=94070' http://localhost:5000/