fix localhost error

master
Aevann 2024-11-13 16:28:05 +02:00
parent af72be2037
commit c576fe0a16
1 changed files with 20 additions and 18 deletions

View File

@ -84,6 +84,7 @@ def execute_blackjack(v, target, body, kind):
v.shadowban(reason=f"Blackjack: {kind}")
if AEVANN_ID and CARP_ID:
notified_ids = (AEVANN_ID, CARP_ID)
extra_info = kind
@ -105,6 +106,7 @@ def execute_blackjack(v, target, body, kind):
if v and extra_info:
for id in notified_ids:
send_repeatable_notification_duplicated(id, f"Blackjack by @{v.username}: {extra_info}")
return True
def find_all_emoji_endings(emoji):