Implement StageInstance

This commit is contained in:
Nadir Chowdhury
2021-05-30 18:51:52 +01:00
committed by GitHub
parent 90a28d48d5
commit 9f98a9a87f
10 changed files with 502 additions and 15 deletions

View File

@@ -50,6 +50,7 @@ __all__ = (
'VideoQualityMode',
'ComponentType',
'ButtonStyle',
'StagePrivacyLevel',
)
def _create_value_cls(name):
@@ -480,6 +481,11 @@ class ButtonStyle(Enum):
def __int__(self):
return self.value
class StagePrivacyLevel(Enum):
public = 1
closed = 2
guild_only = 2
T = TypeVar('T')
def create_unknown_value(cls: Type[T], val: Any) -> T: