mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-20 13:29:03 +00:00
Support team members data in application info
This commit is contained in:
1 parent
5698cf6df9
commit
3961e7ef6d
6 files changed
+208
-5
No files matched your search
@@ -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