From b1c48f4b8661f06aedda9ee615c60ad2f4e46ef1 Mon Sep 17 00:00:00 2001
From: freya02 <41875020+freya022@users.noreply.github.com>
Date: Fri, 9 Feb 2024 15:17:56 +0100
Subject: [PATCH] Specify MessageContextInteractionEvent does not supply
Message#getMember
---
src/main/java/net/dv8tion/jda/api/entities/Message.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/main/java/net/dv8tion/jda/api/entities/Message.java b/src/main/java/net/dv8tion/jda/api/entities/Message.java
index d10b6cdd8d..c6923b4a8e 100644
--- a/src/main/java/net/dv8tion/jda/api/entities/Message.java
+++ b/src/main/java/net/dv8tion/jda/api/entities/Message.java
@@ -354,7 +354,8 @@ default Message getReferencedMessage()
* if the message was not sent in a GuildMessageChannel, or if the message was sent by a Webhook.
*
You can check the type of channel this message was sent from using {@link #isFromType(ChannelType)} or {@link #getChannelType()}.
*
- *
Discord does not provide a member object for messages returned by {@link RestAction RestActions} of any kind. + *
Discord does not provide a member object for messages returned by {@link net.dv8tion.jda.api.events.interaction.command.MessageContextInteractionEvent MessageContextInteractionEvent} + * or {@link RestAction RestActions} of any kind. * This will return null if the message was retrieved through {@link MessageChannel#retrieveMessageById(long)} or similar means, * unless the member is already cached. *