The Kato Hubot adapter allows you to use Hubot in your Kato team.
Install Hubot (consult the Hubot documentation for more information):
$ sudo npm install -g yo generator-hubot
Create a new bot:
$ mkdir myhubot $ cd myhubot $ yo hubot
You will be asked which adapter to use, type
First, create a new Kato account for your bot. It’s best to create a new email address, eg.
email@example.com and invite this address to your Kato team. Verify the email and set a name for your bot in its new account (that name shows up when it posts a message).
Next, you will need to set some environment variables:
$ export HUBOT_KATO_LOGIN="firstname.lastname@example.org" $ export HUBOT_KATO_PASSWORD="5prz8OKty6"
Once that’s done, you can start Hubot with Kato as the adapter:
$ ./bin/hubot -a kato
npm WARN and
deprecated messages, they are generated by packages unrelated to the Kato adapter. You shoud be able to see your bot online in Kato just a few seconds after you ran this command.
The Kato addapter supports listening for commands in
You can address your bot by beginning a message with its name, which defaults to
You can change this and also set an alias using the following additional environment vars:
$ export HUBOT_NAME="Frank" $ export HUBOT_ALIAS="!"
Your bot should now reply to
The bot will not respond to itself.
Log filename (the default is
$ export HUBOT_KATO_LOG_FILE="path/filename.log"
Log level (one of
info. Default is
$ export HUBOT_KATO_LOG_LEVEL="debug"
Copyright © LeChat, Inc. See LICENSE for details.