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