aboutsummaryrefslogtreecommitdiff
path: root/docs/api.rst
diff options
context:
space:
mode:
authorbmintz <[email protected]>2018-08-29 19:44:11 +0000
committerRapptz <[email protected]>2018-08-30 19:20:10 -0400
commit1d65d6993ad95554d91e9e251fb48399372003a0 (patch)
tree0a2d7cb66d1e403c2c7393f504e5e02b2439f582 /docs/api.rst
parentFix PartialEmoji._as_reaction() for emojis the bot can't see (diff)
downloaddiscord.py-1d65d6993ad95554d91e9e251fb48399372003a0.tar.xz
discord.py-1d65d6993ad95554d91e9e251fb48399372003a0.zip
document HypeSquadHouse and Profile.hypesquad_houses
Diffstat (limited to 'docs/api.rst')
-rw-r--r--docs/api.rst18
1 files changed, 17 insertions, 1 deletions
diff --git a/docs/api.rst b/docs/api.rst
index 83868553..4dfb36c8 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.