From 1e914e8945f71b153c45d9d623efcc0343168e19 Mon Sep 17 00:00:00 2001
From: Omkaar <79257339+Pysics@users.noreply.github.com>
Date: Sat, 9 Apr 2022 09:28:18 +0530
Subject: [PATCH] Document Modal parameter limits

---
 discord/ui/modal.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/discord/ui/modal.py b/discord/ui/modal.py
index 062b3fefa..e73bd6f9e 100644
--- a/discord/ui/modal.py
+++ b/discord/ui/modal.py
@@ -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
     ------------