From b73c7565ce6ff3f98c47ade11bd063a89499ff69 Mon Sep 17 00:00:00 2001 From: retoor Date: Tue, 10 Dec 2024 14:56:24 +0100 Subject: [PATCH] More rules. --- src/ragnar/bot.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ragnar/bot.py b/src/ragnar/bot.py index 54b902f..21eb9df 100644 --- a/src/ragnar/bot.py +++ b/src/ragnar/bot.py @@ -142,6 +142,8 @@ class Bot: elif self.is_comments_sus(rant["id"]): log.info("Comments of rant are sus + user sus. Will flag as spam.") + elif rant["user_username"] in self.sus_users: + pass elif not self.is_sus_rant(rant["id"], rant["text"]): log.info( "{}: Rant by {} is not sus.".format(