diff options
| author | Rapptz <[email protected]> | 2019-08-11 19:04:39 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2019-08-11 19:04:39 -0400 |
| commit | ceaba01776183e7297a38d1af64fcde1b6898568 (patch) | |
| tree | 483903c9f8bc21f9d4df3a51030bfe04e036655e /discord/ext | |
| parent | [tasks] Add support for explicit time parameter when running. (diff) | |
| download | discord.py-ceaba01776183e7297a38d1af64fcde1b6898568.tar.xz discord.py-ceaba01776183e7297a38d1af64fcde1b6898568.zip | |
Add version information from missing PRs.
Diffstat (limited to 'discord/ext')
| -rw-r--r-- | discord/ext/commands/core.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/ext/commands/core.py b/discord/ext/commands/core.py index e6c0ba27..8bc72e27 100644 --- a/discord/ext/commands/core.py +++ b/discord/ext/commands/core.py @@ -1602,7 +1602,7 @@ def cooldown(rate, per, type=BucketType.default): - ``BucketType.channel`` for a per-channel basis. - ``BucketType.member`` for a per-member basis. - ``BucketType.category`` for a per-category basis. - - ``BucketType.role`` for a per-role basis. + - ``BucketType.role`` for a per-role basis (added in v1.3.0). If a cooldown is triggered, then :exc:`.CommandOnCooldown` is triggered in :func:`.on_command_error` and the local error handler. |