Skip to content

Commit d29f73d

Browse files
authored
docs: 📝 Add timeout time to View docstring (#2638)
📝 Add timeout time to `View` docstring
1 parent 968a586 commit d29f73d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

discord/ui/view.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ class View:
126126
*items: :class:`Item`
127127
The initial items attached to this view.
128128
timeout: Optional[:class:`float`]
129-
Timeout in seconds from last interaction with the UI before no longer accepting input.
129+
Timeout in seconds from last interaction with the UI before no longer accepting input. Defaults to 180.0.
130130
If ``None`` then there is no timeout.
131131
132132
Attributes

0 commit comments

Comments
 (0)