Add support for new RPC Activity fields

This commit is contained in:
Soheab
2025-07-30 22:03:15 +01:00
committed by GitHub
parent 348c7d7873
commit 6e7fc133d1
4 changed files with 65 additions and 1 deletions

View File

@ -3898,6 +3898,25 @@ of :class:`enum.Enum`.
An alias for :attr:`.default`.
.. class:: StatusDisplayType
Represents which field is of the user's activity is
displayed in the members list.
.. versionadded:: 2.6
.. attribute:: name
The name of the activity is displayed.
.. attribute:: state
The state of the activity is displayed.
.. attribute:: details
The details of the activity are displayed.
.. _discord-api-audit-logs:
Audit Log Data