diff --git a/botoy/_internal/client.py b/botoy/_internal/client.py index a11c5a7..bde8c63 100644 --- a/botoy/_internal/client.py +++ b/botoy/_internal/client.py @@ -180,7 +180,7 @@ async def connect(self): else: logger.info(f"尝试连接[{connection_url}]...") self.state = "connecting" - ws = await ws_connect(connection_url, open_timeout=10) + ws = await ws_connect(connection_url, open_timeout=10,compression=None) except InvalidURI as e: logger.error(f"连接地址有误[{connection_url}]: {e}") except asyncio.TimeoutError as e: