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''