diff --git a/nonebot/drivers/websockets.py b/nonebot/drivers/websockets.py index 3bd531274246..4790f22decee 100644 --- a/nonebot/drivers/websockets.py +++ b/nonebot/drivers/websockets.py @@ -70,7 +70,7 @@ def type(self) -> str: @asynccontextmanager async def websocket(self, setup: Request) -> AsyncGenerator["WebSocket", None]: if setup.proxy is not None: - logger.warning("proxy is not supported with websockets driver") + logger.warning("proxy is not supported by websockets driver") connection = Connect( str(setup.url), extra_headers={**setup.headers, **setup.cookies.as_header(setup)},