mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-06-08 04:38:42 +00:00
Change PUBLIC to COMMUNITY in Guild.edit
This commit is contained in:
parent
7a815a97af
commit
c6d113c843
@ -1601,7 +1601,7 @@ class Guild(Hashable):
|
|||||||
The new name of the guild.
|
The new name of the guild.
|
||||||
description: Optional[:class:`str`]
|
description: Optional[:class:`str`]
|
||||||
The new description of the guild. Could be ``None`` for no description.
|
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: :class:`bytes`
|
icon: :class:`bytes`
|
||||||
A :term:`py:bytes-like object` representing the icon. Only PNG/JPEG is supported.
|
A :term:`py:bytes-like object` representing the icon. Only PNG/JPEG is supported.
|
||||||
GIF is only available to guilds that contain ``ANIMATED_ICON`` in :attr:`Guild.features`.
|
GIF is only available to guilds that contain ``ANIMATED_ICON`` in :attr:`Guild.features`.
|
||||||
@ -1646,11 +1646,11 @@ class Guild(Hashable):
|
|||||||
The new preferred locale for the guild. Used as the primary language in the guild.
|
The new preferred locale for the guild. Used as the primary language in the guild.
|
||||||
rules_channel: Optional[:class:`TextChannel`]
|
rules_channel: Optional[:class:`TextChannel`]
|
||||||
The new channel that is used for rules. This is only available to
|
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.
|
channel.
|
||||||
public_updates_channel: Optional[:class:`TextChannel`]
|
public_updates_channel: Optional[:class:`TextChannel`]
|
||||||
The new channel that is used for public updates from Discord. This is only available to
|
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.
|
public updates channel.
|
||||||
premium_progress_bar_enabled: :class:`bool`
|
premium_progress_bar_enabled: :class:`bool`
|
||||||
Whether the premium AKA server boost level progress bar should be enabled for the guild.
|
Whether the premium AKA server boost level progress bar should be enabled for the guild.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user