Browse Source

Remove id from LabelComponent.__repr__

v2.6.x
Rapptz 4 days ago
parent
commit
8b2fb89ffa
  1. 2
      discord/components.py

2
discord/components.py

@ -1359,7 +1359,7 @@ class LabelComponent(Component):
'id',
)
__repr_info__ = ('label', 'description', 'component', 'id,')
__repr_info__ = ('label', 'description', 'component')
def __init__(self, data: LabelComponentPayload, state: Optional[ConnectionState]) -> None:
self.component: Component = _component_factory(data['component'], state) # type: ignore

Loading…
Cancel
Save