We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11ac9da commit 4bd1647Copy full SHA for 4bd1647
discord/enums.py
@@ -1081,6 +1081,9 @@ class SeparatorSpacingSize(Enum):
1081
small = 1
1082
large = 2
1083
1084
+ def __int__(self):
1085
+ return self.value
1086
+
1087
1088
class MediaItemLoadingState(Enum):
1089
"""An :class:`~discord.UnfurledMediaItem`'s ``loading_state``."""
@@ -1090,6 +1093,9 @@ class MediaItemLoadingState(Enum):
1090
1093
loaded_success = 2
1091
1094
loaded_not_found = 3
1092
1095
1096
1097
1098
1099
1100
T = TypeVar("T")
1101
0 commit comments