Fix bucket key to not have the method in there.

This commit is contained in:
Rapptz 2019-08-11 19:22:56 -04:00
parent 078d1d71d8
commit 1c6c26ee38

View File

@ -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):