Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

robots should be seen and not heard

  • Loading branch information...
commit 4a3b91322411e1ac2c9f0cf056a9b1b99949ea8f 1 parent 40a0090
@maddox maddox authored
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=" +
Please sign in to comment.
Something went wrong with that request. Please try again.