We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b963d51 commit b5cca60Copy full SHA for b5cca60
discord/ui/container.py
@@ -239,7 +239,9 @@ def to_component_dict(self) -> ContainerComponentPayload:
239
def from_component(cls: type[C], component: ContainerComponent) -> C:
240
from .view import _component_to_item
241
242
- items = [_component_to_item(c) for c in _walk_all_components(component.components)]
+ items = [
243
+ _component_to_item(c) for c in _walk_all_components(component.components)
244
+ ]
245
return cls(*items, colour=component.accent_color, spoiler=component.spoiler)
246
247
callback = None
0 commit comments