mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-10-16 11:58:10 +00:00
Remove buggy and unintentional Container.children setter
This commit is contained in:
@@ -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``."""
|
||||
|
Reference in New Issue
Block a user