forked from rDrama/rDrama
fix errors
parent
5c6adbc3ab
commit
248c7ef50d
|
@ -19,6 +19,7 @@ def _populate_awards():
|
|||
AWARDS_ENABLED.update(temp)
|
||||
|
||||
for award in EVENT_AWARDS:
|
||||
EVENT_AWARDS[award]['ghost'] = EVENT_AWARDS[award]['cosmetic']
|
||||
if award in AWARDS_DISABLED:
|
||||
AWARDS_DISABLED.remove(award)
|
||||
|
||||
|
|
|
@ -387,7 +387,7 @@ def execute_blackjack_custom(v, target, body, type):
|
|||
|
||||
def execute_blackjack(v, target, body, type):
|
||||
if not execute_blackjack_custom(v, target, body, type): return False
|
||||
if not body and not blackjack and not blackjack2: return True
|
||||
if not body or (not blackjack and not blackjack2): return True
|
||||
if any(i in body.lower() for i in blackjack.split()) or all(i in body.lower() for i in blackjack2.split()):
|
||||
v.shadowbanned = AUTOJANNY_ID
|
||||
|
||||
|
|
Loading…
Reference in New Issue