From 1d65d6993ad95554d91e9e251fb48399372003a0 Mon Sep 17 00:00:00 2001 From: bmintz Date: Wed, 29 Aug 2018 19:44:11 +0000 Subject: [PATCH] document HypeSquadHouse and Profile.hypesquad_houses --- docs/api.rst | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/docs/api.rst b/docs/api.rst index 838685533..4dfb36c87 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -614,6 +614,9 @@ Profile .. attribute:: hypesquad A boolean indicating if the user is in Discord HypeSquad. + .. attribute:: hypesquad_houses + + A list of :class:`HypeSquadHouse` that the user is in. .. attribute:: mutual_guilds A list of :class:`Guild` that the :class:`ClientUser` shares with this @@ -684,7 +687,6 @@ All enumerations are subclasses of `enum`_. .. attribute:: pins_add The system message denoting that a pinned message has been added to a channel. - .. attribute:: new_member The system message denoting that a new member has joined a Guild. @@ -710,6 +712,20 @@ All enumerations are subclasses of `enum`_. A "Watching" activity type. +.. class:: HypeSquadHouse + + Specifies the HypeSquad house a user belongs to. + + .. attribute:: bravery + + The "Bravery" house. + .. attribute:: brilliance + + The "Brilliance" house. + .. attribute:: balance + + The "Balance" house. + .. class:: VoiceRegion Specifies the region a voice server belongs to.