aboutsummaryrefslogtreecommitdiff
path: root/discord/ext
diff options
context:
space:
mode:
authorRapptz <[email protected]>2016-10-11 00:57:41 -0400
committerRapptz <[email protected]>2017-01-03 09:51:50 -0500
commite4b16851bf70e98c9f7dc15bb0ac2690073f8f09 (patch)
tree68f713a51f7094edd851b7428c8a6f4b3ad01e48 /discord/ext
parentAdd some basic ABCs. (diff)
downloaddiscord.py-e4b16851bf70e98c9f7dc15bb0ac2690073f8f09.tar.xz
discord.py-e4b16851bf70e98c9f7dc15bb0ac2690073f8f09.zip
Slots use tuples instead now.
Diffstat (limited to 'discord/ext')
-rw-r--r--discord/ext/commands/cooldowns.py2
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)