From db44c797e295f0eb7441f0e53f4abd5166852e05 Mon Sep 17 00:00:00 2001 From: Paillat Date: Thu, 7 Nov 2024 08:39:22 +0100 Subject: [PATCH] :memo: Add timeout time to `View` docstring --- discord/ui/view.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/ui/view.py b/discord/ui/view.py index 322371d080..c54cb58f13 100644 --- a/discord/ui/view.py +++ b/discord/ui/view.py @@ -126,7 +126,7 @@ class View: *items: :class:`Item` The initial items attached to this view. timeout: Optional[:class:`float`] - Timeout in seconds from last interaction with the UI before no longer accepting input. + Timeout in seconds from last interaction with the UI before no longer accepting input. Defaults to 180.0. If ``None`` then there is no timeout. Attributes