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: