mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-10-24 10:02:56 +00:00
@@ -406,7 +406,7 @@ class Command(_BaseCommand, Generic[CogT, P, T]):
|
||||
elif isinstance(cooldown, CooldownMapping):
|
||||
buckets: CooldownMapping[Context[Any]] = cooldown
|
||||
else:
|
||||
raise TypeError("Cooldown must be a an instance of CooldownMapping or None.")
|
||||
raise TypeError("Cooldown must be an instance of CooldownMapping or None.")
|
||||
self._buckets: CooldownMapping[Context[Any]] = buckets
|
||||
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user