mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-10-18 20:14:42 +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."""
|
"""List[:class:`Item`]: The children of this container."""
|
||||||
return self._children.copy()
|
return self._children.copy()
|
||||||
|
|
||||||
@children.setter
|
|
||||||
def children(self, value: List[Item[V]]) -> None:
|
|
||||||
self._children = value
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def accent_colour(self) -> Optional[Union[Colour, int]]:
|
def accent_colour(self) -> Optional[Union[Colour, int]]:
|
||||||
"""Optional[Union[:class:`discord.Colour`, :class:`int`]]: The colour of the container, or ``None``."""
|
"""Optional[Union[:class:`discord.Colour`, :class:`int`]]: The colour of the container, or ``None``."""
|
||||||
|
Reference in New Issue
Block a user