From 09fceae041a8957a41c6dce6f97e4788494385cd Mon Sep 17 00:00:00 2001 From: DA344 <108473820+DA-344@users.noreply.github.com> Date: Sun, 9 Mar 2025 23:12:55 +0100 Subject: [PATCH] fix: Container.is_dispatchable making buttons not work --- discord/ui/container.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/discord/ui/container.py b/discord/ui/container.py index b4aa574b6..256e3cfc5 100644 --- a/discord/ui/container.py +++ b/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: