diff options
| author | fourjr <[email protected]> | 2019-06-21 17:09:15 +0800 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2019-06-29 19:14:24 -0400 |
| commit | 3961e7ef6dc05925927dbd2f899661a2058fd070 (patch) | |
| tree | b43468b9a29211e923342a3b27d834b465943732 /docs | |
| parent | Implement `Guild.fetch_roles` (diff) | |
| download | discord.py-3961e7ef6dc05925927dbd2f899661a2058fd070.tar.xz discord.py-3961e7ef6dc05925927dbd2f899661a2058fd070.zip | |
Support team members data in application info
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/api.rst | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/docs/api.rst b/docs/api.rst index c80bc304..e2a83100 100644 --- a/docs/api.rst +++ b/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 ---------------- |