From ffa9fd0344ecf49b6269e577f0e0935f063bf4af Mon Sep 17 00:00:00 2001 From: Sacul Date: Thu, 21 Aug 2025 17:01:58 +0800 Subject: [PATCH] Update api.rst --- docs/api.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/api.rst b/docs/api.rst index 53ddec06e..c2f7b7bd2 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -3063,10 +3063,11 @@ of :class:`enum.Enum`. a :class:`Member` with the ID of the person who triggered the automod rule. When this is the action, the type of :attr:`~AuditLogEntry.extra` is - set to an unspecified proxy object with 2 attributes: + set to an unspecified proxy object with 3 attributes: - ``automod_rule_name``: The name of the automod rule that was triggered. - ``automod_rule_trigger_type``: A :class:`AutoModRuleTriggerType` representation of the rule type that was triggered. + - ``channel``: The channel of the message sent by the member when they were flagged. `None` if the member was quarantined when they just joined the guild. When this is the action, :attr:`AuditLogEntry.changes` is empty.