Fix wrong words in docstrings of reaction and message predicates (#4593)

* Fix a wrong usage of word in docs

* Let's fix this while we're at it

Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
This commit is contained in:
Predeactor 2020-11-11 17:34:33 +01:00 committed by GitHub
parent a97cd64f48
commit 0a040ad8e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -70,7 +70,7 @@ class MessagePredicate(Callable[[discord.Message], bool]):
channel: Optional[discord.TextChannel] = None,
user: Optional[discord.abc.User] = None,
) -> "MessagePredicate":
"""Match if the reaction fits the described context.
"""Match if the message fits the described context.
Parameters
----------
@ -866,7 +866,7 @@ class ReactionPredicate(Callable[[discord.Reaction, discord.abc.User], bool]):
Attributes
----------
result : Any
The object which the message content matched with. This is
The object which the reaction matched with. This is
dependent on the predicate used - see each predicate's
documentation for details, not every method will assign this
attribute. Defaults to ``None``.