Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: add missing docs for voice channel status audit log #2374

Merged
merged 2 commits into from Mar 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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