A Hubot plugin that pushes World Cup goals to a chat room.
Powered by http://worldcup.sfg.io/.
npm install hubot-world-cup-live --save
- Add
"hubot-world-cup-live"
to yourexternal-scripts.json
file - Set the
HUBOT_WORLD_CUP_DEFAULT_ROOM
environment variable (see the note below) - 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.
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.