From f364a88c20f7e9c2a87b1cf230feacb372157ce0 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 5fefe2c42..7f5d589b7 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -1678,6 +1678,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:: InviteType