Browse Source

Merge branch 'feat/components-v2' of https://github.com/DA-344/d.py into feat/components-v2

pull/10166/head
DA-344 1 week ago
parent
commit
b221fd2fef
  1. 2
      discord/ui/container.py

2
discord/ui/container.py

@ -212,7 +212,7 @@ class Container(Item[V]):
return bool(self.__dispatchable)
def is_persistent(self) -> bool:
return self.is_dispatchable() and all(c.is_persistent() for c in self.children)
return all(c.is_persistent() for c in self.children)
def __init_subclass__(cls) -> None:
super().__init_subclass__()

Loading…
Cancel
Save