From: Thorsten Date: Wed, 19 Nov 2025 15:42:06 +0000 (+0100) Subject: dublettenbuster X-Git-Url: https://git.aero2k.de/?a=commitdiff_plain;p=urlbot-v3.git dublettenbuster --- diff --git a/src/distbot/plugins/didyouknow.py b/src/distbot/plugins/didyouknow.py index 696948f..7f1a842 100644 --- a/src/distbot/plugins/didyouknow.py +++ b/src/distbot/plugins/didyouknow.py @@ -37,7 +37,7 @@ class DidYouKnow(Worker): def parse_body(self, msg): sender = get_nick_from_message(msg) words = get_words(msg) - if "wusstet" in map(lambda w: w.lower(), words): + if "wusstet" in map(lambda w: w.lower(), words) and ">" not in msg: fact = self.get_random_fact() self.insert_fact(msg) answer = random.choice(self.answers)