From 038ca4a09c76c7c35118b536d5c44f2098e642b4 Mon Sep 17 00:00:00 2001 From: DA344 <108473820+DA-344@users.noreply.github.com> Date: Thu, 24 Apr 2025 22:44:38 +0200 Subject: [PATCH] more unpack --- discord/ui/media_gallery.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/ui/media_gallery.py b/discord/ui/media_gallery.py index b86bbd0b4..badd495e0 100644 --- a/discord/ui/media_gallery.py +++ b/discord/ui/media_gallery.py @@ -184,6 +184,6 @@ class MediaGallery(Item[V]): @classmethod def from_component(cls, component: MediaGalleryComponent) -> Self: return cls( - items=component.items, + *component.items, id=component.id, )