Skip to content

Commit 1d790da

Browse files
authored
forgot modal children thing
1 parent 38352c2 commit 1d790da

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

discord/ui/modal.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ def __init__(
7777
self._custom_id: str | None = custom_id or os.urandom(16).hex()
7878
if len(title) > 45:
7979
raise ValueError("title must be 45 characters or fewer")
80+
self._children: list[ModalItem] = []
8081
super().__init__(timeout=timeout)
8182
for item in children:
8283
self.add_item(item)

0 commit comments

Comments
 (0)