From f7e1b8952a8a510a43032abe3b185129b4f86fe5 Mon Sep 17 00:00:00 2001 From: imp <106537315+imptype@users.noreply.github.com> Date: Wed, 3 Sep 2025 13:59:45 +0100 Subject: [PATCH] Fix Ratelimit._future typehint Co-authored-by: Danny <1695103+Rapptz@users.noreply.github.com> --- discord/http.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/http.py b/discord/http.py index f35bf6862..2698733b2 100644 --- a/discord/http.py +++ b/discord/http.py @@ -378,7 +378,7 @@ class Ratelimit: self.http: HTTPClient = http self._last_request: float = 0.0 self._lock: asyncio.Lock = asyncio.Lock() - self._future: Optional[asyncio.Future] = None + self._future: Optional[asyncio.Future[None]] = None def __repr__(self) -> str: return f''