fix: tried my own fix

This commit is contained in:
Seaswimmer 2023-08-08 12:17:52 -04:00
parent ad5e7795e2
commit f9e5cc143c
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):
match = re.search(r'(?<=:)\d+(?=>)', input_string)
if match:
return match.group(1)
return int(match.group())
else:
return input_string