Skip to content

Commit 148535a

Browse files
authored
types
1 parent fd67ea2 commit 148535a

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

discord/ui/select.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
from ..threads import Thread
4545
from ..user import User
4646
from ..utils import MISSING
47-
from .item import ItemCallbackType, ViewItem
47+
from .item import ItemCallbackType, ViewItem, ModalItem
4848

4949
__all__ = (
5050
"Select",
@@ -68,6 +68,7 @@
6868
from ..types.components import SelectMenu as SelectMenuPayload
6969
from ..types.interactions import ComponentInteractionData
7070
from .view import BaseView
71+
from .modal import DesignerModal
7172

7273
ST = TypeVar("ST", bound=Snowflake | str, covariant=True, default=Any)
7374
else:

discord/ui/text_display.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
if TYPE_CHECKING:
1313
from ..types.components import TextDisplayComponent as TextDisplayComponentPayload
1414
from .core import ItemInterface
15+
from .modal import DesignerModal
16+
from .view import DesignerView
1517

1618

1719
T = TypeVar("T", bound="TextDisplay")

0 commit comments

Comments
 (0)