Permalink
Browse files

robots should be seen and not heard

  • Loading branch information...
1 parent 40a0090 commit 4a3b91322411e1ac2c9f0cf056a9b1b99949ea8f @maddox maddox committed Oct 26, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/scripts/maps.coffee
View
2 src/scripts/maps.coffee
@@ -4,7 +4,7 @@
module.exports = (robot) ->
- robot.hear /(?:(satellite|terrain|hybrid)[- ])?map me (.+)/i, (msg) ->
+ robot.respond /(?:(satellite|terrain|hybrid)[- ])?map me (.+)/i, (msg) ->
mapType = msg.match[1] || "roadmap"
location = msg.match[2]
mapUrl = "http://maps.google.com/maps/api/staticmap?markers=" +

0 comments on commit 4a3b913

Please sign in to comment.