From 466a66b6a7c9868feecfb356d2d0303860af2273 Mon Sep 17 00:00:00 2001 From: 7410 <85879080+O7410@users.noreply.github.com> Date: Sun, 10 Nov 2024 12:09:37 +0200 Subject: [PATCH] Fix javadoc typos in MessageRequest (#2768) --- .../net/dv8tion/jda/api/utils/messages/MessageRequest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/net/dv8tion/jda/api/utils/messages/MessageRequest.java b/src/main/java/net/dv8tion/jda/api/utils/messages/MessageRequest.java index 8bd9db2f86..ef2708b70b 100644 --- a/src/main/java/net/dv8tion/jda/api/utils/messages/MessageRequest.java +++ b/src/main/java/net/dv8tion/jda/api/utils/messages/MessageRequest.java @@ -426,13 +426,13 @@ default R setFiles(@Nonnull FileUpload... files) // Allowed Mentions Methods /** - * Whether to mention the used, when replying to a message. + * Whether to mention the user, when replying to a message. *
This only matters in combination with {@link net.dv8tion.jda.api.requests.restaction.MessageCreateAction#setMessageReference(Message) MessageCreateAction.setMessageReference(...)}! * *

This is true by default but can be configured using {@link #setDefaultMentionRepliedUser(boolean)}! * * @param mention - * True, to mention the author if the referenced message + * True, to mention the author in the referenced message * * @return The same instance for chaining */