mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-07 10:22:59 +00:00
Add support for automod_quarantined_guild_tag member flag
This commit is contained in:
17
docs/api.rst
17
docs/api.rst
@ -3055,6 +3055,23 @@ of :class:`enum.Enum`.
|
||||
|
||||
.. versionadded:: 2.1
|
||||
|
||||
.. attribute:: automod_quarantine_user
|
||||
|
||||
An automod rule quarantined a member.
|
||||
|
||||
When this is the action, the type of :attr:`~AuditLogEntry.target` is
|
||||
a :class:`Member` with the ID of the person who triggered the automod rule.
|
||||
|
||||
When this is the action, the type of :attr:`~AuditLogEntry.extra` is
|
||||
set to an unspecified proxy object with 2 attributes:
|
||||
|
||||
- ``automod_rule_name``: The name of the automod rule that was triggered.
|
||||
- ``automod_rule_trigger_type``: A :class:`AutoModRuleTriggerType` representation of the rule type that was triggered.
|
||||
|
||||
When this is the action, :attr:`AuditLogEntry.changes` is empty.
|
||||
|
||||
.. versionadded:: 2.6
|
||||
|
||||
.. attribute:: creator_monetization_request_created
|
||||
|
||||
A request to monetize the server was created.
|
||||
|
Reference in New Issue
Block a user