From 651699fcd2b3cf7b00faa7cc1bbd5a689e2dd41b Mon Sep 17 00:00:00 2001 From: Rapptz Date: Sun, 5 Oct 2025 02:45:20 -0400 Subject: [PATCH] Remove buggy and unintentional Container.children setter --- discord/ui/container.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/discord/ui/container.py b/discord/ui/container.py index 43f3ec1ee..3025e17f8 100644 --- a/discord/ui/container.py +++ b/discord/ui/container.py @@ -208,10 +208,6 @@ class Container(Item[V]): """List[:class:`Item`]: The children of this container.""" return self._children.copy() - @children.setter - def children(self, value: List[Item[V]]) -> None: - self._children = value - @property def accent_colour(self) -> Optional[Union[Colour, int]]: """Optional[Union[:class:`discord.Colour`, :class:`int`]]: The colour of the container, or ``None``."""