Skip to content

Commit e830df4

Browse files
style(pre-commit): auto fixes from pre-commit.com hooks
1 parent c0022f1 commit e830df4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

discord/ui/designer_view.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,9 @@ def is_components_v2(self) -> bool:
373373
374374
A view containing V2 components cannot be sent alongside message content or embeds.
375375
"""
376-
return len(self.children) > 5 or any(i.is_components_v2() for i in self.children)
376+
return len(self.children) > 5 or any(
377+
i.is_components_v2() for i in self.children
378+
)
377379

378380
def disable_all_items(self, *, exclusions: list[Item[V]] | None = None) -> None:
379381
"""

0 commit comments

Comments
 (0)