Skip to content

Commit 54ad575

Browse files
authored
doc
1 parent 1499805 commit 54ad575

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

discord/ui/modal.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ class Modal:
4343
4444
Parameters
4545
----------
46-
children: Union[:class:`InputText`, :class:`Select`, :class:`TextDisplay`]
47-
The initial InputText, Select, or TextDisplay components that are displayed in the modal dialog.
46+
children: Union[:class:`InputText`, :class:`Item`]
47+
The initial items that are displayed in the modal dialog. Currently supports :class:`discord.ui.Select` and :class:`discord.ui.TextDisplay`.
4848
title: :class:`str`
4949
The title of the modal dialog.
5050
Must be 45 characters or fewer.

0 commit comments

Comments
 (0)