aboutsummaryrefslogtreecommitdiff
path: root/discord/ui
diff options
context:
space:
mode:
authorKaylynn Morgan <[email protected]>2021-07-21 16:46:52 +1000
committerGitHub <[email protected]>2021-07-21 02:46:52 -0400
commitfeed302269b745c8de54f4a141d4fc9b0ecb011a (patch)
treea3b7f79256cdfcfa4306d2178c14036e306a448a /discord/ui
parentfix typo in ephemeral function definition (diff)
downloaddiscord.py-feed302269b745c8de54f4a141d4fc9b0ecb011a.tar.xz
discord.py-feed302269b745c8de54f4a141d4fc9b0ecb011a.zip
Fix documentation note for interaction_check
Diffstat (limited to 'discord/ui')
-rw-r--r--discord/ui/view.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/discord/ui/view.py b/discord/ui/view.py
index 407a3110..671656ce 100644
--- a/discord/ui/view.py
+++ b/discord/ui/view.py
@@ -303,9 +303,8 @@ class View:
.. note::
- If an exception occurs within the body then the interaction
- check then :meth:`on_error` is called and it is considered
- a failure.
+ If an exception occurs within the body then the check
+ is considered a failure and :meth:`on_error` is called.
Parameters
-----------