forked from cswimr/SeaCogs
fix(pterodactyl): try to match regex early for debugging
This commit is contained in:
parent
502ffbee84
commit
925e402819
1 changed files with 1 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue