Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 1.57 KB

README.md

File metadata and controls

30 lines (19 loc) · 1.57 KB

Hubot Hockey

npm version Node CI

Get the game results and the latest NHL playoff odds for the selected team from the very useful MoneyPuck.com.

Configuration

There is no additional configuration necessary if you simply wish to get the latest game results and playoff odds.

Environment Variable Required? Description
HUBOT_HOCKEY_EXT_STANDINGS No Adds columns to the standings table. See notes below.
HUBOT_HOCKEY_HIDE_ODDS No Skips show the odds from MoneyPuck
  • By default, the standings table will show Games Played, Wins, Losses, Overtime Losses, and Points.
  • Setting HUBOT_HOCKEY_EXT_STANDINGS to any truth-y value will add Points Percentage, Last 10, and Streak.

Adding to Your Hubot

See full instructions here.

  1. npm install hubot-hockey --save (updates your package.json file)
  2. Open the external-scripts.json file in the root directory (you may need to create this file) and add an entry to the array (e.g. [ 'hubot-hockey' ]).

Commands

  • hubot <team> - Show your team's current playoff odds and next game
  • hubot nhl - Show division leaders
  • hubot nhl [division|conference] - Show division or conference standings