mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-08-31 15:31:36 +00:00
Fix spelling mistake in LabelComponent slots
This commit is contained in:
parent
cbff6ddef9
commit
7c52dbdba0
@ -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…
x
Reference in New Issue
Block a user