diff options
| author | Jake Ward <[email protected]> | 2020-03-19 18:06:56 +0000 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2020-04-06 04:58:27 -0400 |
| commit | c782ac325465f55627e4ace9f5a1a72396efbd06 (patch) | |
| tree | be1ad04b0659aea3680265f4a61a8cb03d50031b | |
| parent | [commands] Stop yielding duplicate commands from walk_commands (diff) | |
| download | discord.py-c782ac325465f55627e4ace9f5a1a72396efbd06.tar.xz discord.py-c782ac325465f55627e4ace9f5a1a72396efbd06.zip | |
Update documentation on guild features to reflect Discord changes
| -rw-r--r-- | discord/guild.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/discord/guild.py b/discord/guild.py index 0e5a7b8f..555cafa7 100644 --- a/discord/guild.py +++ b/discord/guild.py @@ -129,11 +129,12 @@ class Guild(Hashable): - ``DISCOVERABLE``: Guild shows up in Server Discovery. - ``FEATURABLE``: Guild is able to be featured in Server Discovery. - ``COMMERCE``: Guild can sell things using store channels. - - ``PUBLIC``: Users can lurk in this guild via Server Discovery. + - ``PUBLIC``: Guild is a public guild. - ``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. - ``PUBLIC_DISABLED``: Guild cannot be public. + - ``WELCOME_SCREEN_ENABLED``: Guild has enabled the welcome screen splash: Optional[:class:`str`] The guild's invite splash. @@ -958,7 +959,7 @@ class Guild(Hashable): The new name of the guild. description: :class:`str` The new description of the guild. This is only available to guilds that - contain `VERIFIED` in :attr:`Guild.features`. + contain `PUBLIC` in :attr:`Guild.features`. icon: :class:`bytes` A :term:`py:bytes-like object` representing the icon. Only PNG/JPEG supported and GIF for guilds with ``ANIMATED_ICON`` feature. |