Skip to content
This repository was archived by the owner on Aug 28, 2019. It is now read-only.

Commit 482e3ea

Browse files
committed
Improve documentation on AutoModAction.message_id
1 parent 53a1118 commit 482e3ea

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

discord/automod.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,8 @@ class AutoModAction:
398398
action: :class:`AutoModRuleAction`
399399
The action that was taken.
400400
message_id: Optional[:class:`int`]
401-
The message ID that triggered the action.
401+
The message ID that triggered the action. This is only available if the
402+
action is done on an edited message.
402403
rule_id: :class:`int`
403404
The ID of the rule that was triggered.
404405
rule_trigger_type: :class:`AutoModRuleTriggerType`

0 commit comments

Comments
 (0)