mirror of
https://github.com/stoatchat/python-client-sdk.git
synced 2026-08-24 11:22:54 -04:00
20 lines
345 B
Python
Executable File
20 lines
345 B
Python
Executable File
from __future__ import annotations
|
|
|
|
from typing import TYPE_CHECKING, TypedDict
|
|
|
|
from typing_extensions import NotRequired
|
|
|
|
if TYPE_CHECKING:
|
|
from .permissions import Overwrite
|
|
|
|
__all__ = (
|
|
"Role",
|
|
)
|
|
|
|
class Role(TypedDict):
|
|
name: str
|
|
permissions: Overwrite
|
|
colour: NotRequired[str]
|
|
hoist: NotRequired[bool]
|
|
rank: int
|