mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-08 02:43:01 +00:00
Add missing argument in _rate_limit_helper
This commit is contained in:
@ -869,7 +869,7 @@ class Client:
|
|||||||
retry = float(resp.headers['Retry-After']) / 1000.0
|
retry = float(resp.headers['Retry-After']) / 1000.0
|
||||||
yield from resp.release()
|
yield from resp.release()
|
||||||
yield from asyncio.sleep(retry)
|
yield from asyncio.sleep(retry)
|
||||||
return (yield from self._rate_limit_helper(name, method, data))
|
return (yield from self._rate_limit_helper(name, method, url, data))
|
||||||
|
|
||||||
return resp
|
return resp
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user