diff --git a/discord/http.py b/discord/http.py index 5ed862d8d..75c02457c 100644 --- a/discord/http.py +++ b/discord/http.py @@ -148,7 +148,7 @@ class HTTPClient: # wait until the global lock is complete await self._global_over.wait() - await lock + await lock.acquire() with MaybeUnlock(lock) as maybe_lock: for tries in range(5): async with self._session.request(method, url, **kwargs) as r: