fix: tried my own fix
This commit is contained in:
parent
ad5e7795e2
commit
f9e5cc143c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue