Skip to content

ubyssey/ubysseybot

Repository files navigation

ubysseybot

ubysseybot is a chat bot built on the Hubot framework for our Slack deployed on Google App Engine

Made with ❤️ by The Ubyssey, the University of British Columbia's student newspaper since 1918.

demo

Installation

git clone https://github.com/ubyssey/ubysseybot
cd ubysseybot
npm install

Running locally

You can start ubysseybot locally by running:

bin/hubot

You'll see some start up output and a prompt:

[Sat Feb 28 2015 12:38:27 GMT+0000 (GMT)] INFO Using default redis on localhost:6379
ubysseybot>

Then you can interact with ubysseybot by typing ubysseybot help.

ubysseybot> ubysseybot help
ubysseybot animate me <query> - The same thing as `image me`, except adds [snip]
ubysseybot help - Displays all of the help commands that ubysseybot knows about.
...

Running locally on Slack

You will need a slack app token for your specific slack team. Check out the documentation from Slack

HUBOT_SLACK_TOKEN=xxxx-your-token-xxxx ./bin/hubot -a slack

Deployment

We use Google App Engine for most of our deployment including this slack bot.

Check out the official Node.js documentation

We recommend this article as a strategy to store private tokens on GAE.

License

GNU General Public License v3.0

About

Hubot for Ubyssey team

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published