Skip to content

Latest commit

 

History

History
61 lines (38 loc) · 2.25 KB

README.md

File metadata and controls

61 lines (38 loc) · 2.25 KB

genki-bot for Slack

screen shot

genki-bot is a chat bot built on the Hubot framework. It was initially generated by generator-hubot, and configured to be deployed on Heroku to get you up and running as quick as possible.

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:

% bin/hubot

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 help.

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 Button

or

% 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.

More detailed documentation can be found on the deploying hubot onto Heroku wiki page, and hubot-slack.

Restart the bot

You may want to get comfortable with heroku logs and heroku restart if you're having issues.