This is an adapter that connects hubot to partychat, by way of partychat-hooks.
-
Log into partychat-hooks and create a hook for your chat room.
-
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.
-
Click
New Receive Hook
. Enter*
as the command sequence, and the address+port that hubot will run at as the HTTP Endpoint. For example:http://hooks.myserver.com:8080
-
Edit
package.json
, adding this to the dependencies:"hubot-partychat-hooks": "0.x"
-
Install the needed packages.
npm install
-
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