mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-06-07 12:18:59 +00:00
Document Modal parameter limits
This commit is contained in:
parent
4ce60b4cac
commit
1e914e8945
@ -77,13 +77,14 @@ class Modal(View):
|
|||||||
Parameters
|
Parameters
|
||||||
-----------
|
-----------
|
||||||
title: :class:`str`
|
title: :class:`str`
|
||||||
The title of the modal.
|
The title of the modal. Can only be up to 45 characters.
|
||||||
timeout: Optional[:class:`float`]
|
timeout: Optional[:class:`float`]
|
||||||
Timeout in seconds from last interaction with the UI before no longer accepting input.
|
Timeout in seconds from last interaction with the UI before no longer accepting input.
|
||||||
If ``None`` then there is no timeout.
|
If ``None`` then there is no timeout.
|
||||||
custom_id: :class:`str`
|
custom_id: :class:`str`
|
||||||
The ID of the modal that gets received during an interaction.
|
The ID of the modal that gets received during an interaction.
|
||||||
If not given then one is generated for you.
|
If not given then one is generated for you.
|
||||||
|
Can only be up to 100 characters.
|
||||||
|
|
||||||
Attributes
|
Attributes
|
||||||
------------
|
------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user