Skip to content

Commit

Permalink
docs: remove references to public guilds and refer to them as communi…
Browse files Browse the repository at this point in the history
…ty (#720)
  • Loading branch information
onerandomusername committed Aug 28, 2022
1 parent b9effd9 commit 970cdc0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions changelog/720.doc.rst
@@ -0,0 +1 @@
Change references to public guilds to reference the ``COMMUNITY`` feature instead.
6 changes: 3 additions & 3 deletions disnake/guild.py
Expand Up @@ -1790,7 +1790,7 @@ async def edit(
The new name of the guild.
description: Optional[:class:`str`]
The new description of the guild. Could be ``None`` for no description.
This is only available to guilds that contain ``PUBLIC`` in :attr:`Guild.features`.
This is only available to guilds that contain ``COMMUNITY`` in :attr:`Guild.features`.
icon: Optional[|resource_type|]
The new guild icon. Only PNG/JPG is supported.
GIF is only available to guilds that contain ``ANIMATED_ICON`` in :attr:`Guild.features`.
Expand Down Expand Up @@ -1856,11 +1856,11 @@ async def edit(
rules_channel: Optional[:class:`TextChannel`]
The new channel that is used for rules. This is only available to
guilds that contain ``PUBLIC`` in :attr:`Guild.features`. Could be ``None`` for no rules
guilds that contain ``COMMUNITY`` in :attr:`Guild.features`. Could be ``None`` for no rules
channel.
public_updates_channel: Optional[:class:`TextChannel`]
The new channel that is used for public updates from Discord. This is only available to
guilds that contain ``PUBLIC`` in :attr:`Guild.features`. Could be ``None`` for no
guilds that contain ``COMMUNITY`` in :attr:`Guild.features`. Could be ``None`` for no
public updates channel.
premium_progress_bar_enabled: :class:`bool`
Whether the server boost progress bar is enabled.
Expand Down

0 comments on commit 970cdc0

Please sign in to comment.