forked from rDrama/rDrama
master
parent
ad984b9e9e
commit
c9bdcd8abb
|
@ -110,9 +110,6 @@ def execute_blackjack(v, target, body, kind):
|
||||||
def find_all_emoji_endings(emoji):
|
def find_all_emoji_endings(emoji):
|
||||||
endings = []
|
endings = []
|
||||||
|
|
||||||
if path.isfile(f'files/assets/images/emojis/{emoji}.webp'):
|
|
||||||
return endings, emoji
|
|
||||||
|
|
||||||
is_non_ending_found = False
|
is_non_ending_found = False
|
||||||
while not is_non_ending_found:
|
while not is_non_ending_found:
|
||||||
if emoji.endswith('pat'):
|
if emoji.endswith('pat'):
|
||||||
|
@ -139,7 +136,7 @@ def find_all_emoji_endings(emoji):
|
||||||
emoji = emoji[:-8]
|
emoji = emoji[:-8]
|
||||||
continue
|
continue
|
||||||
|
|
||||||
if emoji.endswith('love'):
|
if emoji.endswith('love') and emoji not in {'marseycornlove', 'marseycapylove'}:
|
||||||
if 'love' in endings:
|
if 'love' in endings:
|
||||||
is_non_ending_found = True
|
is_non_ending_found = True
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Reference in New Issue