DA344
1 month 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/container.py
|
|
@ -291,7 +291,7 @@ class Container(Item[V]): |
|
|
|
@classmethod |
|
|
|
def from_component(cls, component: ContainerComponent) -> Self: |
|
|
|
return cls( |
|
|
|
children=[_component_to_item(c) for c in component.children], |
|
|
|
*[_component_to_item(c) for c in component.children], |
|
|
|
accent_colour=component.accent_colour, |
|
|
|
spoiler=component.spoiler, |
|
|
|
id=component.id, |
|
|
|