From 482e3ead9b939ab332f543363a2ede472491c27f Mon Sep 17 00:00:00 2001 From: Rapptz Date: Fri, 1 Jul 2022 20:12:07 -0400 Subject: [PATCH] Improve documentation on AutoModAction.message_id --- discord/automod.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/discord/automod.py b/discord/automod.py index b2ce0f0d3..b17ebc100 100644 --- a/discord/automod.py +++ b/discord/automod.py @@ -398,7 +398,8 @@ class AutoModAction: action: :class:`AutoModRuleAction` The action that was taken. message_id: Optional[:class:`int`] - The message ID that triggered the action. + The message ID that triggered the action. This is only available if the + action is done on an edited message. rule_id: :class:`int` The ID of the rule that was triggered. rule_trigger_type: :class:`AutoModRuleTriggerType`