@@ -220,6 +220,8 @@ class Guild(BaseGuild):
220
220
repr = False , factory = dict , metadata = no_export_meta
221
221
)
222
222
"""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"""
223
225
224
226
_owner_id : Snowflake_Type = attrs .field (repr = False , converter = to_snowflake )
225
227
_channel_ids : Set [Snowflake_Type ] = attrs .field (repr = False , factory = set )
@@ -724,6 +726,7 @@ async def edit(
724
726
rules_channel : Absent [Optional [Union ["models.GuildText" , Snowflake_Type ]]] = MISSING ,
725
727
public_updates_channel : Absent [Optional [Union ["models.GuildText" , Snowflake_Type ]]] = MISSING ,
726
728
preferred_locale : Absent [Optional [str ]] = MISSING ,
729
+ premium_progress_bar_enabled : Absent [Optional [bool ]] = False ,
727
730
# ToDo: Fill in guild features. No idea how this works - https://discord.com/developers/docs/resources/guild#guild-object-guild-features
728
731
features : Absent [Optional [list [str ]]] = MISSING ,
729
732
reason : Absent [Optional [str ]] = MISSING ,
@@ -749,6 +752,7 @@ async def edit(
749
752
rules_channel: The text channel where your rules and community guidelines are displayed.
750
753
public_updates_channel: The text channel where updates from discord should appear.
751
754
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.
752
756
features: The enabled guild features
753
757
reason: An optional reason for the audit log.
754
758
@@ -774,6 +778,7 @@ async def edit(
774
778
rules_channel_id = to_snowflake (rules_channel ) if rules_channel else MISSING ,
775
779
public_updates_channel_id = to_snowflake (public_updates_channel ) if public_updates_channel else MISSING ,
776
780
preferred_locale = preferred_locale ,
781
+ premium_progress_bar_enabled = premium_progress_bar_enabled if premium_progress_bar_enabled else False ,
777
782
features = features ,
778
783
reason = reason ,
779
784
)
0 commit comments