diff options
| author | Rapptz <[email protected]> | 2016-10-11 00:57:41 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2017-01-03 09:51:50 -0500 |
| commit | e4b16851bf70e98c9f7dc15bb0ac2690073f8f09 (patch) | |
| tree | 68f713a51f7094edd851b7428c8a6f4b3ad01e48 /discord/ext/commands | |
| parent | Add some basic ABCs. (diff) | |
| download | discord.py-e4b16851bf70e98c9f7dc15bb0ac2690073f8f09.tar.xz discord.py-e4b16851bf70e98c9f7dc15bb0ac2690073f8f09.zip | |
Slots use tuples instead now.
Diffstat (limited to 'discord/ext/commands')
| -rw-r--r-- | discord/ext/commands/cooldowns.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |