From fe6dad5df669edbbfae54df5389ae85f86adc8c6 Mon Sep 17 00:00:00 2001 From: Luke Slater Date: Mon, 17 Oct 2011 10:56:49 +0100 Subject: [PATCH] 25 --- modules/youare.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/youare.js b/modules/youare.js index 138cf6a..7401a11 100644 --- a/modules/youare.js +++ b/modules/youare.js @@ -5,7 +5,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, 50) && data.user != 'aisbot') { + if(key && key[2] != "" && Number.prototype.chanceIn(1, 25) && data.user != 'aisbot') { dbot.say(data.channel, data.user + ': You\'re ' + key[2] + '.'); } },