Giter Club home page Giter Club logo

hubot's Introduction

Hubot

This is Pitt CSC's version of GitHub's chat bot, hubot. It's pretty cool.

Testing Hubot Locally

You can test hubot in your shell by running bin/hubot.

You'll see some startup output 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 hubot:

Hubot> hubot help

Hubot> Events:
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.
...

Scripting

Read more on what you can do with hubot in the Scripting Guide.

Deployment

Our hubot is hosted on Heroku. If you have deployment permissions, you can deploy hubot updates by pushing to Heroku:

git push heroku master

Please don't deploy any changes that haven't been pushed to GitHub yet.

Configuration

Hubot's behavior on Heroku is configured via several environment variables:

HEROKU_URL:          [...]
HUBOT_SLACK_BOTNAME: hubot
HUBOT_SLACK_TEAM:    pittcsc
HUBOT_SLACK_TOKEN:   [...]

Changing any of these variables will require restarting the hubot application.

Troubleshooting

In the event that hubot crashes, anyone with deployment permissions may restart it or diagnose the problem using the Heroku Toolbelt:

heroku restart
heroku logs

hubot's People

Contributors

georgeclaghorn avatar alexlafroscia avatar ritwikgupta avatar jwarner112 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.