Browse Source
Add `versionadded` to `BaseView.total_children_count`
pull/10278/head
Isis Ebsen
7 days ago
Failed to extract signature
1 changed files with
3 additions and
1 deletions
-
discord/ui/view.py
|
|
@ -335,7 +335,9 @@ class BaseView: |
|
|
|
|
|
|
|
@property |
|
|
|
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 |
|
|
|
|
|
|
|
@classmethod |
|
|
|