Skip to content

Commit f4bb3d4

Browse files
committed
feat(types): add missing guild features to GuildFeature literal type
1 parent 79afc2d commit f4bb3d4

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

changelog/1515.feature.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add missing guild features to ``GuildFeature`` literal type

disnake/types/guild.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ class UnavailableGuild(TypedDict):
4343
GuildFeature = Literal[
4444
"ANIMATED_BANNER",
4545
"ANIMATED_ICON",
46+
"APPLICATION_COMMAND_PERMISSIONS_V2",
4647
"AUTO_MODERATION",
4748
"BANNER",
4849
"COMMUNITY",
@@ -84,6 +85,9 @@ class UnavailableGuild(TypedDict):
8485
"VERIFIED",
8586
"VIP_REGIONS",
8687
"WELCOME_SCREEN_ENABLED",
88+
"GUESTS_ENABLED",
89+
"GUILD_TAGS",
90+
"ENHANCED_ROLE_COLORS",
8791
]
8892

8993

0 commit comments

Comments
 (0)