From 7c52dbdba01bf2572db862381c9949d61de08f22 Mon Sep 17 00:00:00 2001 From: Sacul Date: Tue, 26 Aug 2025 23:34:23 +0800 Subject: [PATCH] Fix spelling mistake in LabelComponent slots --- discord/components.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/discord/components.py b/discord/components.py index d5a1737a2..a13a214f7 100644 --- a/discord/components.py +++ b/discord/components.py @@ -1355,11 +1355,11 @@ class LabelComponent(Component): __slots__ = ( 'label', 'description', - 'commponent', + 'component', 'id', ) - __repr_info__ = ('label', 'description', 'commponent', 'id,') + __repr_info__ = ('label', 'description', 'component', 'id,') def __init__(self, data: LabelComponentPayload, state: Optional[ConnectionState]) -> None: self.component: Component = _component_factory(data['component'], state) # type: ignore