mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-10-21 16:03:10 +00:00
Remove id from LabelComponent.__repr__
This commit is contained in:
@@ -1359,7 +1359,7 @@ class LabelComponent(Component):
|
|||||||
'id',
|
'id',
|
||||||
)
|
)
|
||||||
|
|
||||||
__repr_info__ = ('label', 'description', 'component', 'id,')
|
__repr_info__ = ('label', 'description', 'component')
|
||||||
|
|
||||||
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
|
||||||
|
Reference in New Issue
Block a user