Support team members data in application info
This commit is contained in:
21
docs/api.rst
21
docs/api.rst
@ -42,6 +42,15 @@ Client
|
||||
.. autoclass:: AppInfo
|
||||
:members:
|
||||
|
||||
.. autoclass:: GameInfo
|
||||
:members:
|
||||
|
||||
.. autoclass:: Team
|
||||
:members:
|
||||
|
||||
.. autoclass:: TeamMember
|
||||
:members:
|
||||
|
||||
Voice
|
||||
------
|
||||
|
||||
@ -1537,6 +1546,18 @@ of :class:`enum.Enum`.
|
||||
Represents the Dark theme on Discord.
|
||||
|
||||
|
||||
.. class:: TeamMembershipState
|
||||
|
||||
Represents the membership state of a team member retrieved through :func:Bot.application_info.
|
||||
|
||||
.. attribue:: invited
|
||||
|
||||
Represents an invited member.
|
||||
|
||||
.. attribute:: accepted
|
||||
|
||||
Represents a member currently in the team.
|
||||
|
||||
Async Iterator
|
||||
----------------
|
||||
|
||||
|
Reference in New Issue
Block a user