mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-07 17:39:03 +00:00
Remove buggy and unintentional Container.children setter
This commit is contained in:
1 parent
c7575d9f21
commit
651699fcd2
1 file changed
-4
@@ -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