From 3961e7ef6dc05925927dbd2f899661a2058fd070 Mon Sep 17 00:00:00 2001 From: fourjr <28086837+fourjr@users.noreply.github.com> Date: Fri, 21 Jun 2019 17:09:15 +0800 Subject: Support team members data in application info --- docs/api.rst | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'docs/api.rst') 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 ---------------- -- cgit v1.2.3