diff --git a/discord/ext/commands/core.py b/discord/ext/commands/core.py index e6c0ba27c..8bc72e271 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. diff --git a/discord/raw_models.py b/discord/raw_models.py index ac928b40c..26247ca32 100644 --- a/discord/raw_models.py +++ b/discord/raw_models.py @@ -85,6 +85,9 @@ class RawBulkMessageDeleteEvent(_RawReprMixin): class RawMessageUpdateEvent(_RawReprMixin): """Represents the payload for a :func:`on_raw_message_edit` event. + .. versionchanged:: 1.3.0 + The ``channel_id`` attribute was added. + Attributes ----------- message_id: :class:`int`