From 25a1d8c3004d061946533fffb901b225c38fdd66 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Fri, 30 Jun 2017 18:49:49 -0400 Subject: Add support for user flags in Profile. --- docs/api.rst | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'docs/api.rst') 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 -- cgit v1.2.3