mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-09 20:58:54 -05:00
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:
parent
a97cd64f48
commit
0a040ad8e3
@ -70,7 +70,7 @@ class MessagePredicate(Callable[[discord.Message], bool]):
|
|||||||
channel: Optional[discord.TextChannel] = None,
|
channel: Optional[discord.TextChannel] = None,
|
||||||
user: Optional[discord.abc.User] = None,
|
user: Optional[discord.abc.User] = None,
|
||||||
) -> "MessagePredicate":
|
) -> "MessagePredicate":
|
||||||
"""Match if the reaction fits the described context.
|
"""Match if the message fits the described context.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
@ -866,7 +866,7 @@ class ReactionPredicate(Callable[[discord.Reaction, discord.abc.User], bool]):
|
|||||||
Attributes
|
Attributes
|
||||||
----------
|
----------
|
||||||
result : Any
|
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
|
dependent on the predicate used - see each predicate's
|
||||||
documentation for details, not every method will assign this
|
documentation for details, not every method will assign this
|
||||||
attribute. Defaults to ``None``.
|
attribute. Defaults to ``None``.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user