More rules.
Some checks are pending
Build Ragnar anti spam bot / Build (push) Waiting to run

This commit is contained in:
retoor 2024-12-10 14:56:24 +01:00
parent 9ea75329b3
commit b73c7565ce

View File

@ -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(