Permalink
Browse files

Merge pull request #439 from adtaylor/master

Fix URL in cricket.coffee
  • Loading branch information...
2 parents 7bafb72 + c01f94b commit 4c0a0234c46a1efa913e1a2ed8b1293939fa7a24 @tombell tombell committed May 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/scripts/cricket.coffee
@@ -5,7 +5,7 @@
#
module.exports = (robot) ->
- feed_url = "http://query.yahooapis.com/v1/public/yql?q=select%20title%20from%20rss%20where%20url%3D%22http%3A%2F%2Fxstatic.cricinfo.com%2Frss%2Flivescores.xml%22&format=json&diagnostics=true&callback="
+ feed_url = "http://query.yahooapis.com/v1/public/yql?q=select%20title%20from%20rss%20where%20url%3D%22http%3A%2F%2Fstatic.cricinfo.com%2Frss%2Flivescores.xml%22&format=json&diagnostics=true&callback="
prefix = "CRICKET SCORE: "
robot.respond /cricket scores for (.*)/i, (msg) ->
query = msg.match[1]?.toUpperCase()

0 comments on commit 4c0a023

Please sign in to comment.