aboutsummaryrefslogtreecommitdiff
path: root/discord/enums.py
diff options
context:
space:
mode:
Diffstat (limited to 'discord/enums.py')
-rw-r--r--discord/enums.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/discord/enums.py b/discord/enums.py
index b83001da..c2ccb037 100644
--- a/discord/enums.py
+++ b/discord/enums.py
@@ -46,6 +46,7 @@ __all__ = (
'ExpireBehaviour',
'ExpireBehavior',
'StickerType',
+ 'VideoQualityMode',
)
def _create_value_cls(name):
@@ -428,6 +429,13 @@ class InteractionType(Enum):
ping = 1
application_command = 2
+class VideoQualityMode(Enum):
+ auto = 1
+ full = 2
+
+ def __int__(self):
+ return self.value
+
T = TypeVar('T')
def create_unknown_value(cls: Type[T], val: Any) -> T: