Takagi Tasuku
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
0 deletions
-
discord/ui/view.py
|
@ -157,6 +157,8 @@ class View: |
|
|
__view_children_items__: ClassVar[List[ItemCallbackType[Any, Any]]] = [] |
|
|
__view_children_items__: ClassVar[List[ItemCallbackType[Any, Any]]] = [] |
|
|
|
|
|
|
|
|
def __init_subclass__(cls) -> None: |
|
|
def __init_subclass__(cls) -> None: |
|
|
|
|
|
super().__init_subclass__() |
|
|
|
|
|
|
|
|
children: Dict[str, ItemCallbackType[Any, Any]] = {} |
|
|
children: Dict[str, ItemCallbackType[Any, Any]] = {} |
|
|
for base in reversed(cls.__mro__): |
|
|
for base in reversed(cls.__mro__): |
|
|
for name, member in base.__dict__.items(): |
|
|
for name, member in base.__dict__.items(): |
|
|