From e4b16851bf70e98c9f7dc15bb0ac2690073f8f09 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Tue, 11 Oct 2016 00:57:41 -0400 Subject: Slots use tuples instead now. --- discord/ext/commands/cooldowns.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'discord/ext/commands') diff --git a/discord/ext/commands/cooldowns.py b/discord/ext/commands/cooldowns.py index c1aa10a7..fb1fe51a 100644 --- a/discord/ext/commands/cooldowns.py +++ b/discord/ext/commands/cooldowns.py @@ -35,7 +35,7 @@ class BucketType(enum.Enum): channel = 3 class Cooldown: - __slots__ = ['rate', 'per', 'type', '_window', '_tokens', '_last'] + __slots__ = ('rate', 'per', 'type', '_window', '_tokens', '_last') def __init__(self, rate, per, type): self.rate = int(rate) -- cgit v1.2.3