This commit is contained in:
retoor 2025-03-05 18:56:41 +01:00
parent 71db74cdbb
commit aace175500

View File

@ -197,12 +197,15 @@ class Bot:
elif rant["user_username"] in self.sus_users:
pass
elif not self.is_sus_rant(rant["id"], rant["text"]):
if not self.is_user_sus(rant["user_username"]):
continue
log.info(
"{}: Rant by {} is not sus by traditional method..".format(
self.name, rant["user_username"]
)
)
if not vic.is_spam(rant["text"]) >= 5:
if vic.is_spam(rant['text']) <= 5:
self.rant_history.append(rant["id"])
continue
else:
log.info(