From d272e94c4a4fb9b2e7b6037d5f93a378b06a5e3a Mon Sep 17 00:00:00 2001 From: Thorsten Date: Wed, 19 Nov 2025 16:42:06 +0100 Subject: [PATCH] dublettenbuster --- src/distbot/plugins/didyouknow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.47.3