Skip to content

Commit 5cefb75

Browse files
committed
fix: Add missing enums
1 parent 439d54b commit 5cefb75

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

interactions/models/discord/enums.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -719,6 +719,22 @@ def v2_component(self) -> bool:
719719
return self.value in self.v2_component_types()
720720

721721

722+
class UnfurledMediaItemLoadingState(CursedIntEnum):
723+
"""The loading state of an unfurled media item."""
724+
725+
UNKNOWN = 0
726+
LOADING = 1
727+
SUCCESS = 2
728+
FAILED = 3
729+
730+
731+
class SeparatorSpacingSize(CursedIntEnum):
732+
"""The size of the spacing in a separator component."""
733+
734+
SMALL = 1
735+
LARGE = 2
736+
737+
722738
class IntegrationType(CursedIntEnum):
723739
"""The types of installation contexts supported by discord."""
724740

0 commit comments

Comments
 (0)