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 1499805 commit 54ad575Copy full SHA for 54ad575
discord/ui/modal.py
@@ -43,8 +43,8 @@ class Modal:
43
44
Parameters
45
----------
46
- children: Union[:class:`InputText`, :class:`Select`, :class:`TextDisplay`]
47
- The initial InputText, Select, or TextDisplay components that are displayed in the modal dialog.
+ children: Union[:class:`InputText`, :class:`Item`]
+ The initial items that are displayed in the modal dialog. Currently supports :class:`discord.ui.Select` and :class:`discord.ui.TextDisplay`.
48
title: :class:`str`
49
The title of the modal dialog.
50
Must be 45 characters or fewer.
0 commit comments