mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-07 17:39:03 +00:00
Add accessory to Section.__repr__
This commit is contained in:
1 parent
cbcea19e44
commit
f79f41c37c
1 file changed
+1
-1
@@ -87,7 +87,7 @@ class Section(Item[V]):
|
||||
self.id = id
|
||||
|
||||
def __repr__(self) -> str:
|
||||
return f'<{self.__class__.__name__} children={len(self._children)}>'
|
||||
return f'<{self.__class__.__name__} children={len(self._children)} accessory={self._accessory!r}>'
|
||||
|
||||
@property
|
||||
def type(self) -> Literal[ComponentType.section]:
|
||||
|
||||
Reference in new issue
Block a user