Browse Source

chore: Metadata for Section

pull/10166/head
DA344 3 months ago
committed by GitHub
parent
commit
6d50c883ab
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      discord/ui/section.py

4
discord/ui/section.py

@ -23,7 +23,7 @@ DEALINGS IN THE SOFTWARE.
""" """
from __future__ import annotations 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 .item import Item
from .text_display import TextDisplay 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. The ID of this component. This must be unique across the view.
""" """
__discord_ui_section__: ClassVar[bool] = True
__slots__ = ( __slots__ = (
'_children', '_children',
'accessory', 'accessory',

Loading…
Cancel
Save