aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRapptz <[email protected]>2019-08-11 19:22:56 -0400
committerRapptz <[email protected]>2019-08-27 18:41:32 -0400
commit1c6c26ee38c0e860df7f29d7415a1d9b6540266b (patch)
treef47b2a9a8eac365770cfbc4842d7ff035c6b54bf
parentUse new rate limit millisecond precision option. (diff)
downloaddiscord.py-1c6c26ee38c0e860df7f29d7415a1d9b6540266b.tar.xz
discord.py-1c6c26ee38c0e860df7f29d7415a1d9b6540266b.zip
Fix bucket key to not have the method in there.
-rw-r--r--discord/http.py2
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):