From 8b2fb89ffa0155ad9b08fee4c8007e10144c03ef Mon Sep 17 00:00:00 2001 From: Rapptz Date: Sun, 31 Aug 2025 16:00:59 -0400 Subject: [PATCH] Remove id from LabelComponent.__repr__ --- discord/components.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/components.py b/discord/components.py index a13a214f7..08ae4f277 100644 --- a/discord/components.py +++ b/discord/components.py @@ -1359,7 +1359,7 @@ class LabelComponent(Component): 'id', ) - __repr_info__ = ('label', 'description', 'component', 'id,') + __repr_info__ = ('label', 'description', 'component') def __init__(self, data: LabelComponentPayload, state: Optional[ConnectionState]) -> None: self.component: Component = _component_factory(data['component'], state) # type: ignore