This is the SBFVGS version of GitHub's bot, hubot.
- Clone the repo
- cd into the project directory
- run
yarn install
- run
cp bin/hubot-local.dist bin/hubot-local
SuperBestBot uses a PostgreSQL database as its "brain". Run the following commands to get it set up:
psql postgres -U YOUR_USERNAME
CREATE DATABASE superbestbot;
GRANT ALL PRIVILEGES ON DATABASE superbestbot TO YOUR_USERNAME;
\connect superbestbot
CREATE TABLE hubot (id CHARACTER VARYING(1024) NOT NULL, storage TEXT, CONSTRAINT hubot_pkey PRIMARY KEY (id));
INSERT INTO hubot VALUES(1, NULL)
- Make sure you update
bin/hubot-local
with the correct db url
- run
bin/hubot-local -n superbestbot -l !
You'll see some start up output and a prompt.
superbestbot>
Then you can interact with SuperBestBot by typing superbestbot help
(or just !help
).
superbestbot> superbestbot help
Take a look at the scripts in the ./scripts
folder for examples.
Delete any scripts you think are useless or boring. Add whatever functionality you
want hubot to have. Read up on what you can do with hubot in the Scripting Guide.