From 55802db512770e890a4baaf744a32e8bc372ac2c Mon Sep 17 00:00:00 2001 From: imp <106537315+imptype@users.noreply.github.com> Date: Tue, 2 Sep 2025 17:32:18 +0100 Subject: [PATCH] Fix typehint issue --- discord/http.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/http.py b/discord/http.py index 2a864f56d..a22973d3a 100644 --- a/discord/http.py +++ b/discord/http.py @@ -458,7 +458,7 @@ class Ratelimit: except asyncio.TimeoutError: fmt = 'Initial request for rate limit bucket (%s) never finished. Skipping.' _log.warning(fmt, self.key) - self._future.cancel() + self._future.cancel() # type: ignore # If none are still remaining then start sleeping if not self.remaining and not self.one_shot: