DA344
2 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
discord/ui/media_gallery.py
|
@ -184,6 +184,6 @@ class MediaGallery(Item[V]): |
|
|
@classmethod |
|
|
@classmethod |
|
|
def from_component(cls, component: MediaGalleryComponent) -> Self: |
|
|
def from_component(cls, component: MediaGalleryComponent) -> Self: |
|
|
return cls( |
|
|
return cls( |
|
|
items=component.items, |
|
|
*component.items, |
|
|
id=component.id, |
|
|
id=component.id, |
|
|
) |
|
|
) |
|
|