hubot-events

0.1.1 • Public • Published

hubot-events

Hubot script to call and register hubot events.

See src/events.coffee for full documentation.

Commands

hubot events add name=<name> event=<event> interval=<interval>- Add an event
hubot events remove name=<name>- Remove an event
hubot events list - Show all registered events
hubot events trigger name=<name> - Trigger a specific event by name
hubot events trigger event=<event> - Trigger a specific event by name

Notice that

  • name musn't contain spaces
  • interval has to be a cron expression like 0 0 * * * *

Installation

In hubot project repo, run:

npm install hubot-events --save

Then add hubot-events to your external-scripts.json:

[
  "hubot-events"
]

Package Sidebar

Install

npm i hubot-events

Weekly Downloads

1

Version

0.1.1

License

MIT

Last publish

Collaborators

  • filipre