Browse Source

Remove buggy and unintentional Container.children setter

v2.6.x
Rapptz 2 weeks ago
parent
commit
b079e9c451
  1. 4
      discord/ui/container.py

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

Loading…
Cancel
Save