Skip to content

pchaigno/hubot-notify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hubot-notify

Build Status Coverage Status

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-notify

Then 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/pchaigno

To post a message on ##project (replace # with _):

curl --data 'message=Hi%20everyone!' http://127.0.0.1:8080/notify/__project

To send a message to john on ##project (replace # with _):

curl --data 'message=Hi%20john!' http://127.0.0.1:8080/notify/__project/john

License

This package is under MIT license.

About

Exposes Hubot via a simple REST API to send messages to rooms and users.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published