Browse Source
Fix spelling mistake in LabelComponent slots
pull/9428/merge
Sacul
20 hours ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
2 additions and
2 deletions
-
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 |
|
|