Permalink
Browse files

Only respond to the trigger 10% of the time

To make this way less annoying
  • Loading branch information...
1 parent ac0d233 commit 0758bc9344ef5b2346a9d728f0eb32145600f401 @samn samn committed Dec 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/scripts/git-you-sucka.coffee
@@ -15,4 +15,4 @@
module.exports = (robot) ->
robot.hear /git/, (msg) ->
- msg.reply 'ima git you sucka'
+ if Math.random() < 0.1 then msg.reply 'ima git you sucka'

0 comments on commit 0758bc9

Please sign in to comment.