Browse Source

Fix spelling mistake in LabelComponent slots

v2.6.x
Sacul 5 days ago
committed by Rapptz
parent
commit
cbcea19e44
  1. 4
      discord/components.py

4
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

Loading…
Cancel
Save