Skip to content
This repository has been archived by the owner on Sep 23, 2020. It is now read-only.

Commit

Permalink
Peer
Browse files Browse the repository at this point in the history
  • Loading branch information
oldpatricka committed Dec 21, 2011
1 parent dbbb2b3 commit a62ecf7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion hubot-scripts.json
@@ -1 +1 @@
["redis-brain.coffee", "tweet.coffee", "shipit.coffee", "help.coffee", "ping.coffee"]
["redis-brain.coffee", "tweet.coffee", "shipit.coffee", "ping.coffee"]
7 changes: 7 additions & 0 deletions scripts/peer.coffee
@@ -0,0 +1,7 @@
# A way to have hubot back you up
#
module.exports = (robot) ->
robot.hear /peer.*/i, (msg) ->
setTimeout ->
msg.send msg.match[0]
, 1000

0 comments on commit a62ecf7

Please sign in to comment.