From 50b0d219b50ae4a60e7d85252da633ff73f005be Mon Sep 17 00:00:00 2001 From: lmaotrigine <57328245+lmaotrigine@users.noreply.github.com> Date: Sun, 24 Aug 2025 22:52:35 +0530 Subject: [PATCH] Add missing versionadded to some BaseView items --- discord/ui/view.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/discord/ui/view.py b/discord/ui/view.py index cf6b495f0..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 @@ -655,6 +657,8 @@ class BaseView: """An iterator that recursively walks through all the children of this view and its children, if applicable. + .. versionadded:: 2.6 + Yields ------ :class:`Item`