DA344
3 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
3 additions and
1 deletions
-
discord/ui/section.py
|
|
@ -23,7 +23,7 @@ DEALINGS IN THE SOFTWARE. |
|
|
|
""" |
|
|
|
from __future__ import annotations |
|
|
|
|
|
|
|
from typing import TYPE_CHECKING, Any, Dict, List, Literal, Optional, TypeVar, Union |
|
|
|
from typing import TYPE_CHECKING, Any, Dict, List, Literal, Optional, TypeVar, Union, ClassVar |
|
|
|
|
|
|
|
from .item import Item |
|
|
|
from .text_display import TextDisplay |
|
|
@ -63,6 +63,8 @@ class Section(Item[V]): |
|
|
|
The ID of this component. This must be unique across the view. |
|
|
|
""" |
|
|
|
|
|
|
|
__discord_ui_section__: ClassVar[bool] = True |
|
|
|
|
|
|
|
__slots__ = ( |
|
|
|
'_children', |
|
|
|
'accessory', |
|
|
|