|
|
@ -1359,6 +1359,7 @@ class Guild(Hashable): |
|
|
|
preferred_locale: str = MISSING, |
|
|
|
rules_channel: Optional[TextChannel] = MISSING, |
|
|
|
public_updates_channel: Optional[TextChannel] = MISSING, |
|
|
|
premium_progress_bar_enabled: bool = MISSING, |
|
|
|
) -> Guild: |
|
|
|
r"""|coro| |
|
|
|
|
|
|
@ -1436,6 +1437,8 @@ class Guild(Hashable): |
|
|
|
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 |
|
|
|
public updates channel. |
|
|
|
premium_progress_bar_enabled: :class:`bool` |
|
|
|
Whether the premium progress bar should be enabled. |
|
|
|
reason: Optional[:class:`str`] |
|
|
|
The reason for editing this guild. Shows up on the audit log. |
|
|
|
|
|
|
@ -1555,6 +1558,9 @@ class Guild(Hashable): |
|
|
|
|
|
|
|
fields['system_channel_flags'] = system_channel_flags.value |
|
|
|
|
|
|
|
if premium_progress_bar_enabled is not MISSING: |
|
|
|
fields['premium_progress_bar_enabled'] = premium_progress_bar_enabled |
|
|
|
|
|
|
|
if community is not MISSING: |
|
|
|
features = [] |
|
|
|
if community: |
|
|
|