From 0a040ad8e3c3158a12af3f9f1b382763a994a536 Mon Sep 17 00:00:00 2001 From: Predeactor <61093863+Predeactor@users.noreply.github.com> Date: Wed, 11 Nov 2020 17:34:33 +0100 Subject: [PATCH] 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> --- redbot/core/utils/predicates.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/redbot/core/utils/predicates.py b/redbot/core/utils/predicates.py index c6fc59c25..efe316fb2 100644 --- a/redbot/core/utils/predicates.py +++ b/redbot/core/utils/predicates.py @@ -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``.