From c03afaaa5ceaa76dd6837d1457ff4f12961ae756 Mon Sep 17 00:00:00 2001 From: DA-344 <108473820+DA-344@users.noreply.github.com> Date: Wed, 18 Jun 2025 22:43:16 +0200 Subject: [PATCH] fix: views saying that arent dispatchable when they are --- discord/ui/view.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/ui/view.py b/discord/ui/view.py index 54dc1beb5..f98ef31bd 100644 --- a/discord/ui/view.py +++ b/discord/ui/view.py @@ -415,7 +415,7 @@ class BaseView: # checks whether any interactable items (buttons or selects) are present # in this view, and check whether this requires a state attached in case # of webhooks and if the view should be stored in the view store - return any(item.is_dispatchable() for item in self.children) + return any(item.is_dispatchable() for item in self.walk_children()) def has_components_v2(self) -> bool: return any(c._is_v2() for c in self.children)