Browse Source

Fix typehint issue

pull/10287/head
imp 2 months ago
committed by GitHub
parent
commit
55802db512
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      discord/http.py

2
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:

Loading…
Cancel
Save