aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKhazhismel <[email protected]>2015-12-26 17:01:28 -0500
committerKhazhismel <[email protected]>2015-12-26 17:01:35 -0500
commitac3e583b059c5ea58630467489834dc934160aa7 (patch)
treeac04f58c33f6ac210fe036670e036c25b2c0ad5b
parentAdded missing Member import to client.py (diff)
downloaddiscord.py-ac3e583b059c5ea58630467489834dc934160aa7.tar.xz
discord.py-ac3e583b059c5ea58630467489834dc934160aa7.zip
Add missing argument in _rate_limit_helper
-rw-r--r--discord/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/client.py b/discord/client.py
index 7fde7d63..8458ed62 100644
--- a/discord/client.py
+++ b/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