Permalink
Browse files

renamed tell-now to im

  • Loading branch information...
1 parent 9e1de43 commit 9cd5a1bdf3e1b1c2948b8f35b25b05ef7654f3a2 Kevin Krauss committed Jan 11, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/scripts/{tell-now.coffee → im.coffee}
@@ -8,7 +8,7 @@
# None
#
# Commands:
-# hubot tellnow <username> <some message> - tell <username> <some message> right now !
+# hubot im <username> <some message> - im <username> <some message> right now !
#
# Author:
# earlonrails & ggongaware
@@ -17,7 +17,7 @@
# Only works on gtalk
module.exports = (robot) ->
- robot.respond /tell ([\w.-@]*) (.*)/i, (msg) ->
+ robot.respond /im ([\w.-@]*) (.*)/i, (msg) ->
new_user =
id: msg.match[1] + "@" + msg.message.user.domain
name: msg.match[1]

0 comments on commit 9cd5a1b

Please sign in to comment.