Note that banning a member will also fire {@link GuildMessageReactionRemoveEvent} and no member will be available
@@ -154,7 +154,7 @@ public RestAction The {@link Message#getMember() Message.getMember()} method will always return null for the resulting message.
- * You can, instead, retrieve the member via {@link #getMember()} or {@link #retrieveMember()}.
+ * To retrieve the member you can use {@code getGuild().retrieveMember(message.getAuthor())}.
*
* @return {@link RestAction} - Type: {@link Message}
*/
diff --git a/src/main/java/net/dv8tion/jda/api/events/message/react/GenericMessageReactionEvent.java b/src/main/java/net/dv8tion/jda/api/events/message/react/GenericMessageReactionEvent.java
index 775e46c2ce..f47a0572ef 100644
--- a/src/main/java/net/dv8tion/jda/api/events/message/react/GenericMessageReactionEvent.java
+++ b/src/main/java/net/dv8tion/jda/api/events/message/react/GenericMessageReactionEvent.java
@@ -50,7 +50,7 @@ public GenericMessageReactionEvent(@Nonnull JDA api, long responseNumber, @Nulla
}
/**
- * The id for the user who added/removed their reaction.
+ * The id for the user who owns the reaction.
*
* @return The user id
*/
@@ -61,7 +61,7 @@ public String getUserId()
}
/**
- * The id for the user who added/removed their reaction.
+ * The id for the user who owns reaction.
*
* @return The user id
*/
@@ -126,7 +126,7 @@ public MessageReaction.ReactionEmote getReactionEmote()
}
/**
- * Retrieves the {@link User} who added or removed the reaction.
+ * Retrieves the {@link User} who owns the reaction.
* Note that banning a member will also fire {@link MessageReactionRemoveEvent} and no member will be available
* in those cases. An {@link net.dv8tion.jda.api.requests.ErrorResponse#UNKNOWN_MEMBER UNKNOWN_MEMBER} error response
* should be the failure result.
*
+ * @throws IllegalStateException
+ * If this event is not from a guild
+ *
* @return {@link RestAction} - Type: {@link Member}
*/
@Nonnull
@@ -165,7 +168,7 @@ public RestAction The {@link Message#getMember() Message.getMember()} method will always return null for the resulting message.
- * You can, instead, retrieve the member via {@link #getMember()} or {@link #retrieveMember()}.
+ * To retrieve the member you can use {@code getGuild().retrieveMember(message.getAuthor())}.
*
* @return {@link RestAction} - Type: {@link Message}
*/
Simple shortcut for {@code getChannel().retrieveMessageById(getMessageId())}.
*
*
If a user is known, this will return {@link #getUser()}.
*
* @return {@link RestAction} - Type: {@link User}
@@ -142,13 +142,16 @@ public RestAction
If a member is known, this will return {@link #getMember()}.
*
*
Simple shortcut for {@code getChannel().retrieveMessageById(getMessageId())}.
*
*