genki-bot for Slack
This README is intended to help get you started. Definitely update and improve to talk about your own instance, how to use and deploy, what functionality he has, etc!
Running genki-bot Locally
You can test your hubot by running the following.
You can start genki-bot locally by running:
You'll see some start up output about where your scripts come from and a prompt:
[Sun, 04 Dec 2011 18:41:11 GMT] INFO Loading adapter shell [Sun, 04 Dec 2011 18:41:11 GMT] INFO Loading scripts from /home/tomb/Development/hubot/scripts [Sun, 04 Dec 2011 18:41:11 GMT] INFO Loading scripts from /home/tomb/Development/hubot/src/scripts Hubot>
Then you can interact with genki-bot by typing
genki-bot> genki-bot help genki-bot> animate me <query> - The same thing as `image me`, except adds a few convert me <expression> to <units> - Convert expression to given units. help - Displays all of the help commands that Hubot knows about. ...
Deployment to Heroku
% heroku create --stack cedar % git push heroku master
If you run into any problems, checkout Heroku's docs.
You'll need to edit the
Procfile to set the name of your hubot.
Restart the bot
You may want to get comfortable with
heroku logs and
if you're having issues.