aboutsummaryrefslogtreecommitdiff
path: root/discord
diff options
context:
space:
mode:
authorRapptz <[email protected]>2021-07-04 07:07:38 -0400
committerRapptz <[email protected]>2021-07-04 07:07:38 -0400
commit074f34a5fa8ad77535849509bce4ad55ba811b6e (patch)
treebe887d7fdcddfdb4e49219ecd931b51490254b87 /discord
parentFix type errors and potentially unbound code in http.py (diff)
downloaddiscord.py-074f34a5fa8ad77535849509bce4ad55ba811b6e.tar.xz
discord.py-074f34a5fa8ad77535849509bce4ad55ba811b6e.zip
Specify View timeouts is in seconds
Diffstat (limited to 'discord')
-rw-r--r--discord/ui/view.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/ui/view.py b/discord/ui/view.py
index 27c76594..b03e1526 100644
--- a/discord/ui/view.py
+++ b/discord/ui/view.py
@@ -123,7 +123,7 @@ class View:
Parameters
-----------
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.
Attributes