From 9f3f8f1c38ab0e58722b2a8c47ceb17ec10864c4 Mon Sep 17 00:00:00 2001 From: DA-344 <108473820+DA-344@users.noreply.github.com> Date: Sun, 20 Apr 2025 12:27:19 +0200 Subject: [PATCH] chore: Add MediaGalleryItem.description char limit to docs --- discord/components.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/discord/components.py b/discord/components.py index 80842f7fc..22c3d714c 100644 --- a/discord/components.py +++ b/discord/components.py @@ -993,7 +993,8 @@ class MediaGalleryItem: file uploaded as an attachment in the message, that can be accessed using the ``attachment://file-name.extension`` format. description: Optional[:class:`str`] - The description to show within this item. + The description to show within this item. Up to 256 characters. Defaults + to ``None``. spoiler: :class:`bool` Whether this item should be flagged as a spoiler. """