aboutsummaryrefslogtreecommitdiff
path: root/docs/api.rst
diff options
context:
space:
mode:
authorRapptz <[email protected]>2017-06-30 18:49:49 -0400
committerRapptz <[email protected]>2017-06-30 18:49:49 -0400
commit25a1d8c3004d061946533fffb901b225c38fdd66 (patch)
tree0fc03d21a1bf3f94e660b65fc530396604be06e1 /docs/api.rst
parentTypo in docstring for TextChannel.delete_messages (diff)
downloaddiscord.py-25a1d8c3004d061946533fffb901b225c38fdd66.tar.xz
discord.py-25a1d8c3004d061946533fffb901b225c38fdd66.zip
Add support for user flags in Profile.
Diffstat (limited to 'docs/api.rst')
-rw-r--r--docs/api.rst12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/api.rst b/docs/api.rst
index 53ce4051..bdddb654 100644
--- a/docs/api.rst
+++ b/docs/api.rst
@@ -596,10 +596,22 @@ Profile
.. attribute:: premium
A boolean indicating if the user has premium (i.e. Discord Nitro).
+ .. attribute:: nitro
+
+ An alias for :attr:`premium`.
.. attribute:: premium_since
A naive UTC datetime indicating how long the user has been premium since.
This could be ``None`` if not applicable.
+ .. attribute:: staff
+
+ A boolean indicating if the user is Discord Staff.
+ .. attribute:: partner
+
+ A boolean indicating if the user is a Discord Partner.
+ .. attribute:: hypesquad
+
+ A boolean indicating if the user is in Discord HypeSquad.
.. attribute:: mutual_guilds
A list of :class:`Guild` that the :class:`ClientUser` shares with this