Browse Source

Add missing argument in _rate_limit_helper

pull/69/head
Khazhismel 9 years ago
parent
commit
ac3e583b05
  1. 2
      discord/client.py

2
discord/client.py

@ -869,7 +869,7 @@ class Client:
retry = float(resp.headers['Retry-After']) / 1000.0
yield from resp.release()
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

Loading…
Cancel
Save