Browse Source

chore: black

pull/10166/head
DA-344 2 weeks ago
parent
commit
1281a2e5fa
  1. 4
      discord/ui/view.py

4
discord/ui/view.py

@ -793,9 +793,7 @@ class LayoutView(BaseView):
# payload instead of in which ActionRow it should be placed on.
key = lambda i: i._rendered_row or i._row or sys.maxsize
for _, cmps in groupby(self._children, key=key):
components.extend(
c.to_component_dict() for c in cmps
)
components.extend(c.to_component_dict() for c in cmps)
return components

Loading…
Cancel
Save