Skip to content

Commit d06b72c

Browse files
authored
add missing docs for voice channel status audit log (#2374)
Signed-off-by: Lala Sabathil <[email protected]>
1 parent be87ae7 commit d06b72c

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed

docs/api/audit_logs.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -516,5 +516,13 @@ this goal, it must make use of a couple of data classes that aid in this goal.
516516

517517
:type: :class:`int`
518518

519+
.. attribute:: status
520+
521+
The voice channel status of a :class:`VoiceChannel`.
522+
523+
See also :attr:`VoiceChannel.status`.
524+
525+
:type: :class:`str`
526+
519527
.. this is currently missing the following keys: reason and application_id
520528
I'm not sure how to about porting these

docs/api/enums.rst

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1592,6 +1592,34 @@ of :class:`enum.Enum`.
15921592

15931593
.. versionadded:: 2.5
15941594

1595+
.. attribute:: voice_channel_status_update
1596+
1597+
A voice channel status was updated.
1598+
1599+
When this is the action, the type of :attr:`~AuditLogEntry.target` is
1600+
the :class:`VoiceChannel` or :class:`Object` with the ID of the voice
1601+
channel which was updated.
1602+
1603+
Possible attributes for :class:`AuditLogDiff`:
1604+
1605+
- :attr:`~AuditLogDiff.status`
1606+
1607+
.. versionadded:: 2.5
1608+
1609+
.. attribute:: voice_channel_status_delete
1610+
1611+
A voice channel status was deleted.
1612+
1613+
When this is the action, the type of :attr:`~AuditLogEntry.target` is
1614+
the :class:`VoiceChannel` or :class:`Object` with the ID of the voice
1615+
channel which was updated.
1616+
1617+
Possible attributes for :class:`AuditLogDiff`:
1618+
1619+
- :attr:`~AuditLogDiff.status`
1620+
1621+
.. versionadded:: 2.5
1622+
15951623

15961624
.. class:: AuditLogActionCategory
15971625

0 commit comments

Comments
 (0)