fix: fixed extract_id being broken

This commit is contained in:
Seaswimmer 2023-08-08 10:35:37 -04:00
parent 672aad720e
commit 83053a84a9
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

@ -89,7 +89,7 @@ class Galaxy(commands.Cog):
coco = app_commands.Group(name='coco', guild_only=True, description="This group handles the autoreact functionality.")
def extract_id(input_string):
def extract_id(self, input_string):
match = re.search(r'(?<=:)\d+(?=>)', input_string)
if match:
return match.group()