diff --git a/pterodactyl/websocket.py b/pterodactyl/websocket.py index c174ae6..5d1aeab 100644 --- a/pterodactyl/websocket.py +++ b/pterodactyl/websocket.py @@ -156,13 +156,11 @@ def remove_ansi_escape_codes(text: str) -> str: return ansi_escape.sub('', text) async def check_if_server_message(text: str) -> Union[bool, str]: - logger.debug("Checking if message is a server message") regex = await config.server_regex() match: Optional[re.Match[str]] = re.match(regex, text) if match: logger.debug("Message is a server message") return match.group(1) - logger.debug("Message is not a server message") return False async def check_if_chat_message(text: str) -> Union[bool, dict]: