From 275fba24989b0e91f45f1ec10dcea8e84d58b3a4 Mon Sep 17 00:00:00 2001 From: GLolol Date: Thu, 7 Aug 2014 18:44:23 -0700 Subject: [PATCH] Randomness: change dotsFilter minimum --- Randomness/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Randomness/plugin.py b/Randomness/plugin.py index 212c14a..7fe8d38 100644 --- a/Randomness/plugin.py +++ b/Randomness/plugin.py @@ -131,7 +131,7 @@ class Randomness(callbacks.Plugin): irc.queueMsg(ircmsgs.kick(msg.args[0], msg.nick, "nothx")) elif ircutils.stripFormatting(msg.args[1]) == ".": dotresponses = ["r u mad?", "lol r u mad", "mmm dots", ",", "no spam pls" + dots, ":D", "ok"] - if len(self.dotCounter) >= 4: + if len(self.dotCounter) >= 2: r = random.random() if r >= 0.5: irc.queueMsg(ircmsgs.privmsg(msg.args[0], random.choice(dotresponses)))