Implement StageInstance
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user