Remove buggy and unintentional Container.children setter

This commit is contained in:
Rapptz
2025-10-05 02:45:20 -04:00
parent 30596cad13
commit b079e9c451

View File

@@ -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``."""