Skip to content

Commit

Permalink
Sound logging.
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanmikaelian committed Jan 26, 2012
1 parent 7e948d0 commit 450cb94
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/scripts/counts.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ module.exports = (robot) ->
msg.send "Total rimshots played: #{count}"

robot.sound (msg) ->
console.log msg
if msg.body is "rimshot"
client.hincrby "counts", "rimshots", 1, (err, reply) ->
if err
Expand Down

0 comments on commit 450cb94

Please sign in to comment.