aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRapptz <[email protected]>2019-06-07 22:26:05 -0400
committerRapptz <[email protected]>2019-06-07 22:26:05 -0400
commitc97b097f0769d86561b52fb5462b12b41c32f84a (patch)
treec553860326b42676eca82c96f5eb57aff7fa3ba2
parentImprove performance of parsing MESSAGE_UPDATE and MESSAGE_CREATE events (diff)
downloaddiscord.py-c97b097f0769d86561b52fb5462b12b41c32f84a.tar.xz
discord.py-c97b097f0769d86561b52fb5462b12b41c32f84a.zip
Document new Guild.features
-rw-r--r--discord/guild.py13
1 files changed, 10 insertions, 3 deletions
diff --git a/discord/guild.py b/discord/guild.py
index adfa890d..ccafe11f 100644
--- a/discord/guild.py
+++ b/discord/guild.py
@@ -234,10 +234,17 @@ class Guild(Hashable):
A list of features that the guild has. They are currently as follows:
- ``VIP_REGIONS``: Guild has VIP voice regions
- - ``VANITY_URL``: Guild has a vanity invite URL (e.g. discord.gg/discord-api)
- - ``INVITE_SPLASH``: Guild's invite page has a special splash.
- - ``VERIFIED``: Guild is a "verified" server.
+ - ``VANITY_URL``: Guild can have a vanity invite URL (e.g. discord.gg/discord-api)
+ - ``INVITE_SPLASH``: Guild's invite page can have a special splash.
+ - ``VERIFIED``: Guild is a verified server.
+ - ``PARTNERED``: Guild is a partnered server.
- ``MORE_EMOJI``: Guild is allowed to have more than 50 custom emoji.
+ - ``DISCOVERABLE``: Guild shows up in Server Discovery.
+ - ``COMMERCE``: Guild can sell things using store channels.
+ - ``LURKABLE``: Users can lurk in this guild via Server Discovery.
+ - ``NEWS``: Guild can create news channels.
+ - ``BANNER``: Guild can upload and use a banner (i.e. :meth:`banner_url`).
+ - ``ANIMATED_ICON``: Guild can upload an animated icon.
splash: Optional[:class:`str`]
The guild's invite splash.