From 824bbce95b632944521a78fbc421595d2ad279b0 Mon Sep 17 00:00:00 2001 From: ChrisJL Date: Tue, 28 Jun 2022 13:44:19 +0100 Subject: [PATCH] Add documetation for auto_moderation_action MessageType enum --- docs/api.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/api.rst b/docs/api.rst index 9ae9b65f7..cb151564f 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -1588,6 +1588,12 @@ of :class:`enum.Enum`. The system message denoting that a context menu command was executed. + .. versionadded:: 2.0 + .. attribute:: auto_moderation_action + + The system message sent when an AutoMod rule is triggered. This is only + sent if the rule is configured to sent an alert when triggered. + .. versionadded:: 2.0 .. class:: UserFlags