From 925e402819d1935e5e6091c91f1e5c8ce0786171 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Thu, 29 Feb 2024 21:08:50 -0500 Subject: [PATCH] fix(pterodactyl): try to match regex early for debugging --- pterodactyl/pterodactyl.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pterodactyl/pterodactyl.py b/pterodactyl/pterodactyl.py index beda4a8..5e93314 100644 --- a/pterodactyl/pterodactyl.py +++ b/pterodactyl/pterodactyl.py @@ -120,6 +120,7 @@ class Pterodactyl(commands.Cog): regex = await self.config.chat_regex() self.logger.debug(regex) self.logger.debug('1') + self.logger.debug(re.match(regex, text)) match: Optional[re.Match[str]] = re.match(regex, text) self.logger.debug('2') if match: