diff --git a/discord/ui/section.py b/discord/ui/section.py index 6a4026e22..cb914612d 100644 --- a/discord/ui/section.py +++ b/discord/ui/section.py @@ -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]: