Browse Source
fix: Container.is_dispatchable making buttons not work
pull/10166/head
DA344
3 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
0 additions and
3 deletions
-
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: |
|
|
|