Browse Source

Add `versionadded` to `BaseView.total_children_count`

pull/10278/head
Isis Ebsen 1 week ago
parent
commit
ed52b352de
Failed to extract signature
  1. 4
      discord/ui/view.py

4
discord/ui/view.py

@ -335,7 +335,9 @@ class BaseView:
@property @property
def total_children_count(self) -> int: def total_children_count(self) -> int:
""":class:`int`: The total number of children in this view, including those from nested items.""" """:class:`int`: The total number of children in this view, including those from nested items.
.. versionadded:: 2.6"""
return self._total_children return self._total_children
@classmethod @classmethod

Loading…
Cancel
Save