forked from rDrama/rDrama
1
0
Fork 0
Aevann 2024-02-12 19:21:41 +02:00
parent ad984b9e9e
commit c9bdcd8abb
1 changed files with 1 additions and 4 deletions

View File

@ -110,9 +110,6 @@ def execute_blackjack(v, target, body, kind):
def find_all_emoji_endings(emoji):
endings = []
if path.isfile(f'files/assets/images/emojis/{emoji}.webp'):
return endings, emoji
is_non_ending_found = False
while not is_non_ending_found:
if emoji.endswith('pat'):
@ -139,7 +136,7 @@ def find_all_emoji_endings(emoji):
emoji = emoji[:-8]
continue
if emoji.endswith('love'):
if emoji.endswith('love') and emoji not in {'marseycornlove', 'marseycapylove'}:
if 'love' in endings:
is_non_ending_found = True
continue