Browse Source

Specify View timeouts is in seconds

pull/7167/head
Rapptz 4 years ago
parent
commit
074f34a5fa
  1. 2
      discord/ui/view.py

2
discord/ui/view.py

@ -123,7 +123,7 @@ class View:
Parameters Parameters
----------- -----------
timeout: Optional[:class:`float`] timeout: Optional[:class:`float`]
Timeout 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.
If ``None`` then there is no timeout. If ``None`` then there is no timeout.
Attributes Attributes

Loading…
Cancel
Save