From f9e5cc143cd021e5689cebbd0afdeca19fb6519d Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Tue, 8 Aug 2023 12:17:52 -0400 Subject: [PATCH] fix: tried my own fix --- galaxy/galaxy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/galaxy/galaxy.py b/galaxy/galaxy.py index 7c4abeb..e41decb 100644 --- a/galaxy/galaxy.py +++ b/galaxy/galaxy.py @@ -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