From 81ebfd1e19b8e7bb6bdaf894969125dc64503091 Mon Sep 17 00:00:00 2001 From: Steve C Date: Wed, 8 Jul 2026 16:06:58 -0400 Subject: [PATCH] silence Pyright return-type warning for ws_connect --- discord/http.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/http.py b/discord/http.py index 05c1e69fc..639b1e7a7 100644 --- a/discord/http.py +++ b/discord/http.py @@ -568,7 +568,7 @@ class HTTPClient: 'compress': compress, } - return await self.__session.ws_connect(url, **kwargs) + return await self.__session.ws_connect(url, **kwargs) # pyright: ignore[reportReturnType] def _try_clear_expired_ratelimits(self) -> None: if len(self._buckets) < 256: