Support for AutoMod Members

Co-authored-by: Josh <8677174+bijij@users.noreply.github.com>
Co-authored-by: Kaylynn Morgan <51037748+kaylynn234@users.noreply.github.com>
Co-authored-by: Danny <1695103+Rapptz@users.noreply.github.com>
This commit is contained in:
Andrin S
2023-10-19 13:25:51 +02:00
committed by GitHub
parent 163a86c4a0
commit 5d353282dc
4 changed files with 100 additions and 16 deletions

View File

@ -3330,6 +3330,12 @@ of :class:`enum.Enum`.
The rule will trigger when combined number of role and user mentions
is greater than the set limit.
.. attribute:: member_profile
The rule will trigger when a user's profile contains a keyword.
.. versionadded:: 2.4
.. class:: AutoModRuleEventType
Represents the event type of an automod rule.
@ -3340,6 +3346,12 @@ of :class:`enum.Enum`.
The rule will trigger when a message is sent.
.. attribute:: member_update
The rule will trigger when a member's profile is updated.
.. versionadded:: 2.4
.. class:: AutoModRuleActionType
Represents the action type of an automod rule.
@ -3358,6 +3370,12 @@ of :class:`enum.Enum`.
The rule will timeout a user.
.. attribute:: block_member_interactions
Similar to :attr:`timeout`, except the user will be timed out indefinitely.
This will request the user to edit it's profile.
.. versionadded:: 2.4
.. class:: ForumLayoutType