fix: potential fix for coco emoji not wanting custom emojis
This commit is contained in:
parent
1ff1b7a6d0
commit
ad5e7795e2
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ class Galaxy(commands.Cog):
|
||||||
def extract_id(self, input_string):
|
def extract_id(self, input_string):
|
||||||
match = re.search(r'(?<=:)\d+(?=>)', input_string)
|
match = re.search(r'(?<=:)\d+(?=>)', input_string)
|
||||||
if match:
|
if match:
|
||||||
return match.group()
|
return match.group(1)
|
||||||
else:
|
else:
|
||||||
return input_string
|
return input_string
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue