fix: potential fix for coco emoji not wanting custom emojis

This commit is contained in:
Seaswimmer 2023-08-08 12:16:48 -04:00
parent 1ff1b7a6d0
commit ad5e7795e2
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

@ -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