imp
2 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
discord/http.py
|
@ -378,7 +378,7 @@ class Ratelimit: |
|
|
self.http: HTTPClient = http |
|
|
self.http: HTTPClient = http |
|
|
self._last_request: float = 0.0 |
|
|
self._last_request: float = 0.0 |
|
|
self._lock: asyncio.Lock = asyncio.Lock() |
|
|
self._lock: asyncio.Lock = asyncio.Lock() |
|
|
self._future: Optional[asyncio.Future] = None |
|
|
self._future: Optional[asyncio.Future[None]] = None |
|
|
|
|
|
|
|
|
def __repr__(self) -> str: |
|
|
def __repr__(self) -> str: |
|
|
return f'<RateLimitBucket limit={self.limit} remaining={self.remaining} pending={self.pending}>' |
|
|
return f'<RateLimitBucket limit={self.limit} remaining={self.remaining} pending={self.pending}>' |
|
|