aboutsummaryrefslogtreecommitdiff
path: root/docs/api.rst
diff options
context:
space:
mode:
authorRapptz <[email protected]>2019-05-29 21:35:48 -0400
committerRapptz <[email protected]>2019-06-04 18:30:47 -0400
commit5dce3410e6b6e2dfa3a7a305bde00a00ea013cf2 (patch)
tree24f542fa103e8436ddb3248bdc3d72d424372ef0 /docs/api.rst
parentAdd Member.premium_since to denote member boost date. (diff)
downloaddiscord.py-5dce3410e6b6e2dfa3a7a305bde00a00ea013cf2.tar.xz
discord.py-5dce3410e6b6e2dfa3a7a305bde00a00ea013cf2.zip
Add support for new message types related to premium guilds.
Diffstat (limited to 'docs/api.rst')
-rw-r--r--docs/api.rst16
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/api.rst b/docs/api.rst
index f8d2af31..2464ffee 100644
--- a/docs/api.rst
+++ b/docs/api.rst
@@ -720,6 +720,22 @@ All enumerations are subclasses of `enum`_.
The system message denoting that a new member has joined a Guild.
+ .. attribute:: premium_guild_subscription
+
+ The system message denoting that a member has "nitro boosted" a guild.
+ .. attribute:: premium_guild_tier_1
+
+ The system message denoting that a member has "nitro boosted" a guild
+ and it achieved level 1.
+ .. attribute:: premium_guild_tier_2
+
+ The system message denoting that a member has "nitro boosted" a guild
+ and it achieved level 2.
+ .. attribute:: premium_guild_tier_3
+
+ The system message denoting that a member has "nitro boosted" a guild
+ and it achieved level 3.
+
.. class:: ActivityType
Specifies the type of :class:`Activity`. This is used to check how to