Support team members data in application info

This commit is contained in:
fourjr
2019-06-21 17:09:15 +08:00
committed by Rapptz
parent 5698cf6df9
commit 3961e7ef6d
6 changed files with 208 additions and 5 deletions

View File

@ -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
----------------