From 4a475bd0308c98b1c2323e760e78cef3996a7adf Mon Sep 17 00:00:00 2001 From: Casey Link Date: Thu, 8 Sep 2011 15:38:04 -0500 Subject: [PATCH] chillmeter: add unchill words --- modules/chillmeter.py | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/modules/chillmeter.py b/modules/chillmeter.py index 13e0e1f..8b4ee82 100644 --- a/modules/chillmeter.py +++ b/modules/chillmeter.py @@ -30,6 +30,22 @@ chill_words = [ "slampiece" ] +# words that unchill the place +unchill_words = [ + "dude", + "suck", + "desi", + "lame", + "imageshack", + "microsoft", + "btreecat", + "homework", + "project", + "test", + "exam", + "4chan" +] + # all things chill chill_things = [ ("natty", "natties"), @@ -58,6 +74,10 @@ def measure(phenny, input): if w in input.lower(): chill += 1 + for w in unchill_words: + if w in input.lower(): + chill -= 1 + measure.channels[input.sender] = chill