mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-07 10:22:59 +00:00
Add support for new RPC Activity fields
This commit is contained in:
19
docs/api.rst
19
docs/api.rst
@ -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
|
||||
|
Reference in New Issue
Block a user