Add specialcase for AutoMod triggers in audit log diff

This commit is contained in:
z03h
2023-10-25 16:28:49 -07:00
committed by GitHub
parent 67ae85aa22
commit a5d03d4a1e
3 changed files with 101 additions and 26 deletions

View File

@ -4132,6 +4132,12 @@ AuditLogDiff
The trigger for the automod rule.
.. note ::
The :attr:`~AutoModTrigger.type` of the trigger may be incorrect.
Some attributes such as :attr:`~AutoModTrigger.keyword_filter`, :attr:`~AutoModTrigger.regex_patterns`,
and :attr:`~AutoModTrigger.allow_list` will only have the added or removed values.
:type: :class:`AutoModTrigger`
.. attribute:: actions