fix: fixed extract_id being broken
This commit is contained in:
parent
672aad720e
commit
83053a84a9
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue