forked from MarseyWorld/MarseyWorld
fix 500 error
parent
5e0afc8381
commit
bda75ed8ce
|
@ -66,10 +66,14 @@ def execute_blackjack(v, target, body, kind):
|
|||
if not blackjack or not body: return False
|
||||
|
||||
execute = False
|
||||
|
||||
for x in blackjack.split(','):
|
||||
if all(i in body.lower() for i in x.split()):
|
||||
execute = True
|
||||
|
||||
if SITE_NAME == 'rDrama' and 'discord' in body.lower() and kind == 'message':
|
||||
execute = True
|
||||
|
||||
if not execute: return False
|
||||
|
||||
v.shadowbanned = AUTOJANNY_ID
|
||||
|
|
Loading…
Reference in New Issue