forked from MarseyWorld/MarseyWorld
don't check if body is empty
parent
8fe73cb68e
commit
790a569072
|
@ -358,7 +358,7 @@ def execute_antispam_submission_check(title, v, url):
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def execute_blackjack(v, target, body, type):
|
def execute_blackjack(v, target, body, type):
|
||||||
if not blackjack: return
|
if not blackjack or not body: return True
|
||||||
if any(i in body.lower() for i in blackjack.split()):
|
if any(i in body.lower() for i in blackjack.split()):
|
||||||
v.shadowbanned = 'AutoJanny'
|
v.shadowbanned = 'AutoJanny'
|
||||||
if not v.is_banned: v.ban_reason = f"Blackjack"
|
if not v.is_banned: v.ban_reason = f"Blackjack"
|
||||||
|
|
Loading…
Reference in New Issue