0.4.0 • Published 12 years ago

hubot-partychat-hooks v0.4.0

Weekly downloads
16
License
-
Repository
-
Last release
12 years ago

Hubot adapter for Partychat-Hooks

This is an adapter that connects hubot to partychat, by way of partychat-hooks.

Setup

Create a hook

  1. Log into partychat-hooks and create a hook for your chat room.

  2. Click New Post Hook and enter this as the body:

     {{get_argument("body")}}

    Take note of the HTTP Endpoint. You'll need to pass this to hubot.

  3. Click New Receive Hook. For the command sequence, enter *.

    For the HTTP Endpoint, enter the address+port that hubot will run at, plus /partychat. For example:

     http://hooks.myserver.com:8080/partychat

Set up your hubot

  1. Obtain your own Hubot.

  2. Edit package.json, adding this to the dependencies:

    "hubot-partychat-hooks": "0.x"
  3. Install the needed packages.

    npm install

SYSTEMS ONLINE

  1. Remember that Post Hook endpoint from earlier? You need it now.

    HUBOT_POST_ENDPOINT=http://partychat-hooks.appspot.com/post/p_xyzabc12 bin/hubot -a partychat-hooks
0.4.0

12 years ago

0.3.0

12 years ago

0.2.1

12 years ago

0.2.0

12 years ago

0.1.0

12 years ago