diff --git a/discord/guild.py b/discord/guild.py index 147e6bc05..f69a591bc 100644 --- a/discord/guild.py +++ b/discord/guild.py @@ -220,33 +220,8 @@ class Guild(Hashable): The guild's notification settings. features: List[:class:`str`] A list of features that the guild has. The features that a guild can have are - subject to arbitrary change by Discord. - - They are currently as follows: - - - ``ANIMATED_BANNER``: Guild can upload an animated banner. - - ``ANIMATED_ICON``: Guild can upload an animated icon. - - ``BANNER``: Guild can upload and use a banner. (i.e. :attr:`.banner`) - - ``COMMERCE``: Guild can sell things using store channels. - - ``COMMUNITY``: Guild is a community server. - - ``DISCOVERABLE``: Guild shows up in Server Discovery. - - ``FEATURABLE``: Guild is able to be featured in Server Discovery. - - ``INVITE_SPLASH``: Guild's invite page can have a special splash. - - ``MEMBER_VERIFICATION_GATE_ENABLED``: Guild has Membership Screening enabled. - - ``MONETIZATION_ENABLED``: Guild has enabled monetization. - - ``MORE_EMOJI``: Guild has increased custom emoji slots. - - ``MORE_STICKERS``: Guild has increased custom sticker slots. - - ``NEWS``: Guild can create news channels. - - ``PARTNERED``: Guild is a partnered server. - - ``PREVIEW_ENABLED``: Guild can be viewed before being accepted via Membership Screening. - - ``PRIVATE_THREADS``: Guild has access to create private threads. - - ``ROLE_ICONS``: Guild is able to set role icons. - - ``TICKETED_EVENTS_ENABLED``: Guild has enabled ticketed events. - - ``VANITY_URL``: Guild can have a vanity invite URL (e.g. discord.gg/discord-api). - - ``VERIFIED``: Guild is a verified server. - - ``VIP_REGIONS``: Guild can have 384kbps bitrate in voice channels. - - ``WELCOME_SCREEN_ENABLED``: Guild has enabled the welcome screen. - - ``INVITES_DISABLED``: Guild has disabled invites. + subject to arbitrary change by Discord. A list of guild features can be found + in :ddocs:`the Discord documentation `. premium_tier: :class:`int` The premium tier for this guild. Corresponds to "Nitro Server" in the official UI. diff --git a/discord/types/guild.py b/discord/types/guild.py index 93f486462..b6c2a1365 100644 --- a/discord/types/guild.py +++ b/discord/types/guild.py @@ -56,13 +56,19 @@ VerificationLevel = Literal[0, 1, 2, 3, 4] NSFWLevel = Literal[0, 1, 2, 3] PremiumTier = Literal[0, 1, 2, 3] GuildFeature = Literal[ + 'ANIMATED_BANNER', 'ANIMATED_ICON', + 'APPLICATION_COMMAND_PERMISSIONS_V2', + 'AUTO_MODERATION', 'BANNER', - 'COMMERCE', 'COMMUNITY', + 'CREATOR_MONETIZABLE_PROVISIONAL', + 'CREATOR_STORE_PAGE', + 'DEVELOPER_SUPPORT_SERVER', 'DISCOVERABLE', 'FEATURABLE', 'INVITE_SPLASH', + 'INVITES_DISABLED', 'MEMBER_VERIFICATION_GATE_ENABLED', 'MONETIZATION_ENABLED', 'MORE_EMOJI', @@ -70,14 +76,14 @@ GuildFeature = Literal[ 'NEWS', 'PARTNERED', 'PREVIEW_ENABLED', - 'PRIVATE_THREADS', 'ROLE_ICONS', + 'ROLE_SUBSCRIPTIONS_AVAILABLE_FOR_PURCHASE', + 'ROLE_SUBSCRIPTIONS_ENABLED', 'TICKETED_EVENTS_ENABLED', 'VANITY_URL', 'VERIFIED', 'VIP_REGIONS', 'WELCOME_SCREEN_ENABLED', - 'INVITES_DISABLED', ]