Remove id from LabelComponent.__repr__

This commit is contained in:
Rapptz
2025-08-31 16:00:59 -04:00
parent 5b1fd672ac
commit 8b2fb89ffa

View File

@@ -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