Browse Source

fix: Container.is_dispatchable making buttons not work

pull/10166/head
DA344 3 months ago
committed by GitHub
parent
commit
09fceae041
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 3
      discord/ui/container.py

3
discord/ui/container.py

@ -183,9 +183,6 @@ class Container(Item[V]):
def _is_v2(self) -> bool:
return True
def is_dispatchable(self) -> bool:
return any(c.is_dispatchable() for c in self.children)
def to_components(self) -> List[Dict[str, Any]]:
components = []
for child in self._children:

Loading…
Cancel
Save