aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUP929312 <[email protected]>2021-06-08 11:54:10 +0100
committerGitHub <[email protected]>2021-06-08 06:54:10 -0400
commit472494386179a17a33460e6c9c82400b1e5b2f75 (patch)
tree62d9261f2896ffb92353708ff694b3dd417f252b
parentFix AttributeError in is_nsfw() methods (diff)
downloaddiscord.py-472494386179a17a33460e6c9c82400b1e5b2f75.tar.xz
discord.py-472494386179a17a33460e6c9c82400b1e5b2f75.zip
Grammatical improvements in View documentation
-rw-r--r--discord/ui/view.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/discord/ui/view.py b/discord/ui/view.py
index e651be7b..b42c3bce 100644
--- a/discord/ui/view.py
+++ b/discord/ui/view.py
@@ -201,7 +201,7 @@ class View:
Raises
--------
TypeError
- A :class:`Item` was not passed.
+ An :class:`Item` was not passed.
ValueError
Maximum number of children has been exceeded (25)
or the row the item is trying to be added to is full.
@@ -245,7 +245,7 @@ class View:
A callback that is called when an interaction happens within the view
that checks whether the view should process item callbacks for the interaction.
- This is useful to override if for example you want to ensure that the
+ This is useful to override if, for example, you want to ensure that the
interaction author is a given user.
The default implementation of this returns ``True``.