diff options
| author | Rapptz <[email protected]> | 2019-08-11 19:22:56 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2019-08-27 18:41:32 -0400 |
| commit | 1c6c26ee38c0e860df7f29d7415a1d9b6540266b (patch) | |
| tree | f47b2a9a8eac365770cfbc4842d7ff035c6b54bf | |
| parent | Use new rate limit millisecond precision option. (diff) | |
| download | discord.py-1c6c26ee38c0e860df7f29d7415a1d9b6540266b.tar.xz discord.py-1c6c26ee38c0e860df7f29d7415a1d9b6540266b.zip | |
Fix bucket key to not have the method in there.
| -rw-r--r-- | discord/http.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/http.py b/discord/http.py index 2a1f0cc7..0c4b1a53 100644 --- a/discord/http.py +++ b/discord/http.py @@ -63,7 +63,7 @@ class Route: @property def bucket(self): # the bucket is just method + path w/ major parameters - return '{0.method}:{0.channel_id}:{0.guild_id}:{0.path}'.format(self) + return '{0.channel_id}:{0.guild_id}:{0.path}'.format(self) class MaybeUnlock: def __init__(self, lock): |