From 91066752763a9c0f3aed0901201c294bf9611e1b Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Sat, 2 Mar 2024 19:53:09 -0500 Subject: [PATCH] fix(pterodactyl): wooo more debug statements --- pterodactyl/websocket.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pterodactyl/websocket.py b/pterodactyl/websocket.py index 3c3daeb..7725df2 100644 --- a/pterodactyl/websocket.py +++ b/pterodactyl/websocket.py @@ -47,6 +47,8 @@ async def establish_websocket_connection(coginstance: Pterodactyl) -> None: if json.loads(message)['event'] == 'console output' and await config.console_channel() is not None: msg = json.loads(message)['args'][0] regex_blacklist: dict = await config.regex_blacklist() + for regex in regex_blacklist.values(): + logger.debug(regex) matches = [re.match(regex, msg) for regex in regex_blacklist.values()] if await config.current_status() in ('running', 'offline', '') and not any(matches):