From 3ba0fbd030c3894cc0bd19c114cca0aafd03cce2 Mon Sep 17 00:00:00 2001 From: Luke Slater Date: Sun, 25 Dec 2011 10:41:02 +0000 Subject: [PATCH] youare less likely --- modules/youare.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/youare.js b/modules/youare.js index 49b8d67..062305a 100644 --- a/modules/youare.js +++ b/modules/youare.js @@ -3,7 +3,7 @@ var youAre = function(dbot) { 'listener': function(data) { var key = data.message.valMatch(/(\bis\b|\bare\b)\s+([\w\s\d]*?)(\s+)?(,|\.|\band\b|$)/, 5); - if(key && key[2] != "" && Number.prototype.chanceIn(1, 25) && data.user != 'aisbot') { + if(key && key[2] != "" && Number.prototype.chanceIn(1, 100) && data.user != 'aisbot') { dbot.say(data.channel, data.user + ': You\'re ' + key[2] + '.'); } },