Add documetation for auto_moderation_action MessageType enum

This commit is contained in:
ChrisJL 2022-06-28 13:44:19 +01:00 committed by GitHub
parent 0eb3d26343
commit 824bbce95b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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