fix: fixed coco list not working
This commit is contained in:
parent
f9e5cc143c
commit
7a01f7608d
1 changed files with 8 additions and 5 deletions
|
@ -105,11 +105,14 @@ class Galaxy(commands.Cog):
|
|||
(0x1F680, 0x1F6FF), # Transport and map symbols
|
||||
(0x1F700, 0x1F77F), # Alchemical symbols
|
||||
]
|
||||
try:
|
||||
for char in emoji:
|
||||
code_point = ord(char)
|
||||
for start, end in emoji_ranges:
|
||||
if start <= code_point <= end:
|
||||
return True
|
||||
except TypeError:
|
||||
return False
|
||||
return False
|
||||
|
||||
def extract_id(self, input_string):
|
||||
|
|
Loading…
Reference in a new issue