From e21609a2318fabee163fdf90e5b3fb2defae3ee7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=97=8B=E5=BE=8B?= <81250368+MelodyYuuka@users.noreply.github.com> Date: Sat, 27 Jun 2026 00:12:03 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20Fix:=20WebSocket=20=E5=9F=BA=E7=B1=BB?= =?UTF-8?q?=20typo=20(#4095)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nonebot/internal/driver/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nonebot/internal/driver/model.py b/nonebot/internal/driver/model.py index e9e8f9c4..f4fb0b4a 100644 --- a/nonebot/internal/driver/model.py +++ b/nonebot/internal/driver/model.py @@ -209,7 +209,7 @@ class WebSocket(abc.ABC): elif isinstance(data, bytes): await self.send_bytes(data) else: - raise TypeError("WebSocker send method expects str or bytes!") + raise TypeError("WebSocket send method expects str or bytes!") @abc.abstractmethod async def send_text(self, data: str) -> None: