[commands] Document / type-hint cooldown

This commit is contained in:
Josh
2021-08-10 22:35:15 +10:00
committed by GitHub
parent ec32b71ff9
commit 1c63816cc0
4 changed files with 141 additions and 58 deletions

View File

@@ -493,7 +493,7 @@ class CommandOnCooldown(CommandError):
Attributes
-----------
cooldown: ``Cooldown``
cooldown: :class:`.Cooldown`
A class with attributes ``rate`` and ``per`` similar to the
:func:`.cooldown` decorator.
type: :class:`BucketType`