[commands] fix BucketType.default bypassing dynamic_cooldown

This commit is contained in:
Mikey
2022-04-30 15:46:37 -07:00
committed by GitHub
parent 8e9e25246e
commit 165e14063f
2 changed files with 5 additions and 2 deletions

View File

@ -356,7 +356,7 @@ Checks
.. autofunction:: discord.ext.commands.cooldown(rate, per, type=discord.ext.commands.BucketType.default)
:decorator:
.. autofunction:: discord.ext.commands.dynamic_cooldown(cooldown, type=BucketType.default)
.. autofunction:: discord.ext.commands.dynamic_cooldown(cooldown, type)
:decorator:
.. autofunction:: discord.ext.commands.max_concurrency(number, per=discord.ext.commands.BucketType.default, *, wait=False)