0.1.0 • Published 9 years ago
hubot-notify v0.1.0
hubot-notify
Exposes Hubot via a simple REST API to send messages to rooms and users.
Installation
In your Hubot project directory, run:
npm install --save hubot-notifyThen add hubot-notify to your external-scripts.json:
[
"hubot-notify"
]Examples
To send a private message to john:
curl --data 'message=Hello%20john!' http://127.0.0.1:8080/notify/pchaignoTo post a message on ##project (replace # with _):
curl --data 'message=Hi%20everyone!' http://127.0.0.1:8080/notify/__projectTo send a message to john on ##project (replace # with _):
curl --data 'message=Hi%20john!' http://127.0.0.1:8080/notify/__project/johnLicense
This package is under MIT license.
0.1.0
9 years ago