Document all limits in discord.ui

This commit is contained in:
Soheab_ authored and GitHub committed 2024-01-26 20:08:00 -05:00
1 parent 841e9157bd
commit 070ae24d8d
5 files changed
+36 -7

No files matched your search

+2 -1
View File
@@ -77,7 +77,8 @@ class Modal(View):
Parameters
-----------
title: :class:`str`
The title of the modal. Can only be up to 45 characters.
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.