From 87ce257ca901468fc0e75d9c91549bb5f90c7a05 Mon Sep 17 00:00:00 2001 From: Luke Slater Date: Thu, 1 Sep 2011 13:09:05 +0100 Subject: [PATCH] less youare --- modules/youare.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/youare.js b/modules/youare.js index afe2fbd..138cf6a 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, 10) || data.user == 'Spoony' || data.user == 'iSpoony') && data.user != 'aisbot') { + if(key && key[2] != "" && Number.prototype.chanceIn(1, 50) && data.user != 'aisbot') { dbot.say(data.channel, data.user + ': You\'re ' + key[2] + '.'); } },