npm.io
0.2.2 • Published 12 years ago

hubot-world-cup-live

Licence
Version
0.2.2
Deps
2
Vulns
1
Weekly
0
Stars
10

hubot-world-cup-live NPM version

A Hubot plugin that pushes World Cup goals to a chat room.

Powered by http://worldcup.sfg.io/.

Installation

  1. npm install hubot-world-cup-live --save
  2. Add "hubot-world-cup-live" to your external-scripts.json file
  3. Set the HUBOT_WORLD_CUP_DEFAULT_ROOM environment variable (see the note below)
  4. Reboot Hubot

Now Hubot will check for new goals on the current match every few seconds. Whenever a team scores, it will send a message to the configured room with the current score.

HUBOT_WORLD_CUP_DEFAULT_ROOM

HipChat rooms are in the format id_name@conf.hipchat.com. You can look at Hubot's logs to view what your desired room is called internally, or use their API.

If you use another chat service, please consult its documentation.

Keywords