@@ -220,6 +220,8 @@ class Guild(BaseGuild):
220220 repr = False , factory = dict , metadata = no_export_meta
221221 )
222222 """A cache of all command permissions for this guild"""
223+ premium_progress_bar_enabled : bool = attrs .field (repr = False , default = False )
224+ """True if the guild has the boost progress bar enabled"""
223225
224226 _owner_id : Snowflake_Type = attrs .field (repr = False , converter = to_snowflake )
225227 _channel_ids : Set [Snowflake_Type ] = attrs .field (repr = False , factory = set )
@@ -724,6 +726,7 @@ async def edit(
724726 rules_channel : Absent [Optional [Union ["models.GuildText" , Snowflake_Type ]]] = MISSING ,
725727 public_updates_channel : Absent [Optional [Union ["models.GuildText" , Snowflake_Type ]]] = MISSING ,
726728 preferred_locale : Absent [Optional [str ]] = MISSING ,
729+ premium_progress_bar_enabled : Absent [Optional [bool ]] = False ,
727730 # ToDo: Fill in guild features. No idea how this works - https://discord.com/developers/docs/resources/guild#guild-object-guild-features
728731 features : Absent [Optional [list [str ]]] = MISSING ,
729732 reason : Absent [Optional [str ]] = MISSING ,
@@ -749,6 +752,7 @@ async def edit(
749752 rules_channel: The text channel where your rules and community guidelines are displayed.
750753 public_updates_channel: The text channel where updates from discord should appear.
751754 preferred_locale: The new preferred locale of the guild. Must be an ISO 639 code.
755+ premium_progress_bar_enabled: The status of the Nitro boost bar.
752756 features: The enabled guild features
753757 reason: An optional reason for the audit log.
754758
@@ -774,6 +778,7 @@ async def edit(
774778 rules_channel_id = to_snowflake (rules_channel ) if rules_channel else MISSING ,
775779 public_updates_channel_id = to_snowflake (public_updates_channel ) if public_updates_channel else MISSING ,
776780 preferred_locale = preferred_locale ,
781+ premium_progress_bar_enabled = premium_progress_bar_enabled if premium_progress_bar_enabled else False ,
777782 features = features ,
778783 reason = reason ,
779784 )
0 commit comments