Browse Source

Fix spelling mistake in LabelComponent slots

master
Sacul 15 hours ago
committed by GitHub
parent
commit
7c52dbdba0
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      discord/components.py

4
discord/components.py

@ -1355,11 +1355,11 @@ class LabelComponent(Component):
__slots__ = ( __slots__ = (
'label', 'label',
'description', 'description',
'commponent', 'component',
'id', 'id',
) )
__repr_info__ = ('label', 'description', 'commponent', 'id,') __repr_info__ = ('label', 'description', 'component', 'id,')
def __init__(self, data: LabelComponentPayload, state: Optional[ConnectionState]) -> None: def __init__(self, data: LabelComponentPayload, state: Optional[ConnectionState]) -> None:
self.component: Component = _component_factory(data['component'], state) # type: ignore self.component: Component = _component_factory(data['component'], state) # type: ignore

Loading…
Cancel
Save