From ed52b352ded5ecfcbbc2eaf5836165ceb72b4ddd Mon Sep 17 00:00:00 2001 From: Isis Ebsen Date: Sun, 24 Aug 2025 16:01:47 +0000 Subject: [PATCH] Add `versionadded` to `BaseView.total_children_count` --- discord/ui/view.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/discord/ui/view.py b/discord/ui/view.py index 240b85700..cbf40a14d 100644 --- a/discord/ui/view.py +++ b/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