Browse Source

Fix spelling in slots for LabelComp, `commponent` -> `component`

pull/10282/head
Sacul 5 days ago
committed by GitHub
parent
commit
5402acaa09
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__ = (
'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