parent
71db74cdbb
commit
aace175500
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user