Skip to content
Browse files

Publish weather information

  • Loading branch information...
1 parent 50bccd6 commit 75e3f3055db23dc369b179cb67a712ae93269fd7 @edufelipe edufelipe committed Feb 14, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/scripts/statusboard.coffee
View
2 src/scripts/statusboard.coffee
@@ -15,6 +15,8 @@ module.exports = (robot) ->
time: statuses[0].time
}
_.sortBy statuses, (status) -> status.user.name
+ '/weather': ->
+ robot.brain.get 'weather'
faye.bind 'subscribe', (clientId, channel) ->
console.log "Client #{clientId} subscribed to #{channel}"

0 comments on commit 75e3f30

Please sign in to comment.
Something went wrong with that request. Please try again.