Add channel category cooldown bucket type
This commit is contained in:
@@ -1404,6 +1404,7 @@ def cooldown(rate, per, type=BucketType.default):
|
||||
- ``BucketType.guild`` for a per-guild basis.
|
||||
- ``BucketType.channel`` for a per-channel basis.
|
||||
- ``BucketType.member`` for a per-member basis.
|
||||
- ``BucketType.category`` for a per-category basis.
|
||||
|
||||
If a cooldown is triggered, then :exc:`.CommandOnCooldown` is triggered in
|
||||
:func:`.on_command_error` and the local error handler.
|
||||
|
||||
Reference in New Issue
Block a user