Skip to content

Commit

Permalink
add missing docs for voice channel status audit log (#2374)
Browse files Browse the repository at this point in the history
Signed-off-by: Lala Sabathil <lala@pycord.dev>
  • Loading branch information
Lulalaby committed Mar 2, 2024
1 parent be87ae7 commit d06b72c
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/api/audit_logs.rst
Expand Up @@ -516,5 +516,13 @@ this goal, it must make use of a couple of data classes that aid in this goal.

:type: :class:`int`

.. attribute:: status

The voice channel status of a :class:`VoiceChannel`.

See also :attr:`VoiceChannel.status`.

:type: :class:`str`

.. this is currently missing the following keys: reason and application_id
I'm not sure how to about porting these
28 changes: 28 additions & 0 deletions docs/api/enums.rst
Expand Up @@ -1592,6 +1592,34 @@ of :class:`enum.Enum`.

.. versionadded:: 2.5

.. attribute:: voice_channel_status_update

A voice channel status was updated.

When this is the action, the type of :attr:`~AuditLogEntry.target` is
the :class:`VoiceChannel` or :class:`Object` with the ID of the voice
channel which was updated.

Possible attributes for :class:`AuditLogDiff`:

- :attr:`~AuditLogDiff.status`

.. versionadded:: 2.5

.. attribute:: voice_channel_status_delete

A voice channel status was deleted.

When this is the action, the type of :attr:`~AuditLogEntry.target` is
the :class:`VoiceChannel` or :class:`Object` with the ID of the voice
channel which was updated.

Possible attributes for :class:`AuditLogDiff`:

- :attr:`~AuditLogDiff.status`

.. versionadded:: 2.5


.. class:: AuditLogActionCategory

Expand Down

0 comments on commit d06b72c

Please sign in to comment.