Skip to content

Commit 651699f

Browse files
committed
Remove buggy and unintentional Container.children setter
1 parent c7575d9 commit 651699f

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

discord/ui/container.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -208,10 +208,6 @@ def children(self) -> List[Item[V]]:
208208
"""List[:class:`Item`]: The children of this container."""
209209
return self._children.copy()
210210

211-
@children.setter
212-
def children(self, value: List[Item[V]]) -> None:
213-
self._children = value
214-
215211
@property
216212
def accent_colour(self) -> Optional[Union[Colour, int]]:
217213
"""Optional[Union[:class:`discord.Colour`, :class:`int`]]: The colour of the container, or ``None``."""

0 commit comments

Comments
 (0)