From e52a6d2159ea8c66cf8456294bd3451a7fd20041 Mon Sep 17 00:00:00 2001 From: dolfies Date: Sat, 1 Apr 2023 10:36:28 -0400 Subject: [PATCH] Pass along message to child components (fix #480) --- discord/components.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/components.py b/discord/components.py index 77e076f2d..20df7484c 100644 --- a/discord/components.py +++ b/discord/components.py @@ -128,7 +128,7 @@ class ActionRow(Component): self.children: List[ActionRowChildComponentType] = [] for component_data in data.get('components', []): - component = _component_factory(component_data) + component = _component_factory(component_data, message) if component is not None: self.children.append(component)