Fix spelling mistake in LabelComponent slots

This commit is contained in:
Sacul 2025-08-26 23:34:23 +08:00 committed by GitHub
parent cbff6ddef9
commit 7c52dbdba0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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