We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38352c2 commit 1d790daCopy full SHA for 1d790da
discord/ui/modal.py
@@ -77,6 +77,7 @@ def __init__(
77
self._custom_id: str | None = custom_id or os.urandom(16).hex()
78
if len(title) > 45:
79
raise ValueError("title must be 45 characters or fewer")
80
+ self._children: list[ModalItem] = []
81
super().__init__(timeout=timeout)
82
for item in children:
83
self.add_item(item)
0 commit comments