forked from rDrama/rDrama
fix 500 error
parent
2c14d23e7b
commit
e17904e938
|
@ -73,6 +73,7 @@ def execute_blackjack(v, target, body, kind):
|
|||
|
||||
if not execute: return False
|
||||
|
||||
if v:
|
||||
v.shadowbanned = AUTOJANNY_ID
|
||||
|
||||
ma = ModAction(
|
||||
|
@ -105,7 +106,8 @@ def execute_blackjack(v, target, body, kind):
|
|||
|
||||
if extra_info:
|
||||
for id in notified_ids:
|
||||
send_repeatable_notification_duplicated(id, f"Blackjack by @{v.username}: {extra_info}")
|
||||
username = v.username if v else 'AutoJanny'
|
||||
send_repeatable_notification_duplicated(id, f"Blackjack by @{username}: {extra_info}")
|
||||
return True
|
||||
|
||||
def find_all_emoji_endings(emoji):
|
||||
|
|
Loading…
Reference in New Issue