aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRapptz <[email protected]>2019-12-21 07:46:15 -0500
committerRapptz <[email protected]>2019-12-21 07:46:15 -0500
commitc92ca4ee076388c076dd8fc864a6140450e7ef45 (patch)
tree647ece75b449792545760d1d87fd77ea6af4cc59 /docs
parentAdd User.system and MessageFlags.urgent (diff)
downloaddiscord.py-c92ca4ee076388c076dd8fc864a6140450e7ef45.tar.xz
discord.py-c92ca4ee076388c076dd8fc864a6140450e7ef45.zip
Add Profile.system and Profile.team_user to query newer flags
Diffstat (limited to 'docs')
-rw-r--r--docs/api.rst12
1 files changed, 9 insertions, 3 deletions
diff --git a/docs/api.rst b/docs/api.rst
index f929ea26..37d057cf 100644
--- a/docs/api.rst
+++ b/docs/api.rst
@@ -709,6 +709,12 @@ Profile
.. attribute:: hypesquad_houses
A list of :class:`HypeSquadHouse` that the user is in.
+ .. attribute:: team_user
+
+ A boolean indicating if the user is in part of a team.
+ .. attribute:: system
+
+ A boolean indicating if the user is officially part of the Discord urgent message system.
.. attribute:: mutual_guilds
A list of :class:`Guild` that the :class:`ClientUser` shares with this
@@ -849,10 +855,10 @@ of :class:`enum.Enum`.
.. class:: VoiceRegion
Specifies the region a voice server belongs to.
-
+
.. versionchanged:: 1.2
The ``india`` region was added.
-
+
.. versionchanged:: 1.3
The ``europe`` region was added.
@@ -869,7 +875,7 @@ of :class:`enum.Enum`.
The EU West region.
.. attribute:: europe
-
+
The Europe region.
.. attribute:: frankfurt