Uses of Interface
org.javacord.api.entity.message.Message
-
-
Uses of Message in org.javacord.api
Methods in org.javacord.api that return types with arguments of type Message Modifier and Type Method Description Optional<Message>DiscordApi. getCachedMessageById(long id)Gets a cached message by its id.default Optional<Message>DiscordApi. getCachedMessageById(String id)Gets a cached message by its id.default Optional<Message>DiscordApi. getCachedMessageByLink(String link)Gets a cached message by its link.default CompletableFuture<Message>DiscordApi. getMessageById(long id, TextChannel channel)Gets a message by its id.default CompletableFuture<Message>DiscordApi. getMessageById(String id, TextChannel channel)Gets a message by its id.default Optional<CompletableFuture<Message>>DiscordApi. getMessageByLink(String link)Gets a message by its link. -
Uses of Message in org.javacord.api.entity.channel
Methods in org.javacord.api.entity.channel that return types with arguments of type Message Modifier and Type Method Description CompletableFuture<Message>TextChannel. getMessageById(long id)Gets a message by its id.default CompletableFuture<Message>TextChannel. getMessageById(String id)Gets a message by its id.Stream<Message>TextChannel. getMessagesAfterAsStream(long after)Gets a stream of messages in this channel after a given message in any channel sorted from oldest to newest.default Stream<Message>TextChannel. getMessagesAfterAsStream(Message after)Gets a stream of messages in this channel after a given message in any channel sorted from oldest to newest.Stream<Message>TextChannel. getMessagesAroundAsStream(long around)Gets a stream of messages in this channel around a given message in any channel.default Stream<Message>TextChannel. getMessagesAroundAsStream(Message around)Gets a stream of messages in this channel around a given message in any channel.Stream<Message>TextChannel. getMessagesAsStream()Gets a stream of messages in this channel sorted from newest to oldest.Stream<Message>TextChannel. getMessagesBeforeAsStream(long before)Gets a stream of messages in this channel before a given message in any channel sorted from newest to oldest.default Stream<Message>TextChannel. getMessagesBeforeAsStream(Message before)Gets a stream of messages in this channel before a given message in any channel sorted from newest to oldest.Stream<Message>TextChannel. getMessagesBetweenAsStream(long from, long to)Gets all messages in this channel between the first given message in any channel and the second given message in any channel, excluding the boundaries, sorted from first given message to the second given message.default Stream<Message>TextChannel. getMessagesBetweenAsStream(Message from, Message to)Gets all messages in this channel between the first given message in any channel and the second given message in any channel, excluding the boundaries, sorted from first given message to the second given message.Methods in org.javacord.api.entity.channel with parameters of type Message Modifier and Type Method Description default CompletableFuture<Void>TextChannel. bulkDelete(Message... messages)Deletes multiple messages at once.default CompletableFuture<Void>TextChannel. deleteMessages(Message... messages)Deletes multiple messages at once.default CompletableFuture<MessageSet>TextChannel. getMessagesAfter(int limit, Message after)Gets up to a given amount of messages in this channel after a given message in any channel.default Stream<Message>TextChannel. getMessagesAfterAsStream(Message after)Gets a stream of messages in this channel after a given message in any channel sorted from oldest to newest.default CompletableFuture<MessageSet>TextChannel. getMessagesAfterUntil(Predicate<Message> condition, Message after)Gets messages in this channel after a given message in any channel until one that meets the given condition is found.default CompletableFuture<MessageSet>TextChannel. getMessagesAfterWhile(Predicate<Message> condition, Message after)Gets messages in this channel after a given message in any channel while they meet the given condition.default CompletableFuture<MessageSet>TextChannel. getMessagesAround(int limit, Message around)Gets up to a given amount of messages in this channel around a given message in any channel.default Stream<Message>TextChannel. getMessagesAroundAsStream(Message around)Gets a stream of messages in this channel around a given message in any channel.default CompletableFuture<MessageSet>TextChannel. getMessagesAroundUntil(Predicate<Message> condition, Message around)Gets messages in this channel around a given message in any channel until one that meets the given condition is found.default CompletableFuture<MessageSet>TextChannel. getMessagesAroundWhile(Predicate<Message> condition, Message around)Gets messages in this channel around a given message in any channel while they meet the given condition.default CompletableFuture<MessageSet>TextChannel. getMessagesBefore(int limit, Message before)Gets up to a given amount of messages in this channel before a given message in any channel.default Stream<Message>TextChannel. getMessagesBeforeAsStream(Message before)Gets a stream of messages in this channel before a given message in any channel sorted from newest to oldest.default CompletableFuture<MessageSet>TextChannel. getMessagesBeforeUntil(Predicate<Message> condition, Message before)Gets messages in this channel before a given message in any channel until one that meets the given condition is found.default CompletableFuture<MessageSet>TextChannel. getMessagesBeforeWhile(Predicate<Message> condition, Message before)Gets messages in this channel before a given message in any channel while they meet the given condition.default CompletableFuture<MessageSet>TextChannel. getMessagesBetween(Message from, Message to)Gets all messages in this channel between the first given message in any channel and the second given message in any channel, excluding the boundaries.default Stream<Message>TextChannel. getMessagesBetweenAsStream(Message from, Message to)Gets all messages in this channel between the first given message in any channel and the second given message in any channel, excluding the boundaries, sorted from first given message to the second given message.default CompletableFuture<MessageSet>TextChannel. getMessagesBetweenUntil(Predicate<Message> condition, Message from, Message to)Gets all messages in this channel between the first given message in any channel and the second given message in any channel, excluding the boundaries, until one that meets the given condition is found.default CompletableFuture<MessageSet>TextChannel. getMessagesBetweenWhile(Predicate<Message> condition, Message from, Message to)Gets all messages in this channel between the first given message in any channel and the second given message in any channel, excluding the boundaries, while they meet the given condition.Method parameters in org.javacord.api.entity.channel with type arguments of type Message Modifier and Type Method Description default CompletableFuture<Void>TextChannel. bulkDelete(Iterable<Message> messages)Deletes multiple messages at once.default CompletableFuture<Void>TextChannel. deleteMessages(Iterable<Message> messages)Deletes multiple messages at once.CompletableFuture<MessageSet>TextChannel. getMessagesAfterUntil(Predicate<Message> condition, long after)Gets messages in this channel after a given message in any channel until one that meets the given condition is found.default CompletableFuture<MessageSet>TextChannel. getMessagesAfterUntil(Predicate<Message> condition, Message after)Gets messages in this channel after a given message in any channel until one that meets the given condition is found.CompletableFuture<MessageSet>TextChannel. getMessagesAfterWhile(Predicate<Message> condition, long after)Gets messages in this channel after a given message in any channel while they meet the given condition.default CompletableFuture<MessageSet>TextChannel. getMessagesAfterWhile(Predicate<Message> condition, Message after)Gets messages in this channel after a given message in any channel while they meet the given condition.CompletableFuture<MessageSet>TextChannel. getMessagesAroundUntil(Predicate<Message> condition, long around)Gets messages in this channel around a given message in any channel until one that meets the given condition is found.default CompletableFuture<MessageSet>TextChannel. getMessagesAroundUntil(Predicate<Message> condition, Message around)Gets messages in this channel around a given message in any channel until one that meets the given condition is found.CompletableFuture<MessageSet>TextChannel. getMessagesAroundWhile(Predicate<Message> condition, long around)Gets messages in this channel around a given message in any channel while they meet the given condition.default CompletableFuture<MessageSet>TextChannel. getMessagesAroundWhile(Predicate<Message> condition, Message around)Gets messages in this channel around a given message in any channel while they meet the given condition.CompletableFuture<MessageSet>TextChannel. getMessagesBeforeUntil(Predicate<Message> condition, long before)Gets messages in this channel before a given message in any channel until one that meets the given condition is found.default CompletableFuture<MessageSet>TextChannel. getMessagesBeforeUntil(Predicate<Message> condition, Message before)Gets messages in this channel before a given message in any channel until one that meets the given condition is found.CompletableFuture<MessageSet>TextChannel. getMessagesBeforeWhile(Predicate<Message> condition, long before)Gets messages in this channel before a given message in any channel while they meet the given condition.default CompletableFuture<MessageSet>TextChannel. getMessagesBeforeWhile(Predicate<Message> condition, Message before)Gets messages in this channel before a given message in any channel while they meet the given condition.CompletableFuture<MessageSet>TextChannel. getMessagesBetweenUntil(Predicate<Message> condition, long from, long to)Gets all messages in this channel between the first given message in any channel and the second given message in any channel, excluding the boundaries, until one that meets the given condition is found.default CompletableFuture<MessageSet>TextChannel. getMessagesBetweenUntil(Predicate<Message> condition, Message from, Message to)Gets all messages in this channel between the first given message in any channel and the second given message in any channel, excluding the boundaries, until one that meets the given condition is found.CompletableFuture<MessageSet>TextChannel. getMessagesBetweenWhile(Predicate<Message> condition, long from, long to)Gets all messages in this channel between the first given message in any channel and the second given message in any channel, excluding the boundaries, while they meet the given condition.default CompletableFuture<MessageSet>TextChannel. getMessagesBetweenWhile(Predicate<Message> condition, Message from, Message to)Gets all messages in this channel between the first given message in any channel and the second given message in any channel, excluding the boundaries, while they meet the given condition.CompletableFuture<MessageSet>TextChannel. getMessagesUntil(Predicate<Message> condition)Gets messages in this channel from the newer end until one that meets the given condition is found.CompletableFuture<MessageSet>TextChannel. getMessagesWhile(Predicate<Message> condition)Gets messages in this channel from the newer end while they meet the given condition. -
Uses of Message in org.javacord.api.entity.message
Methods in org.javacord.api.entity.message that return Message Modifier and Type Method Description MessageMessageActivity. getMessage()Gets the message of the activity.MessageMessageAttachment. getMessage()Gets the message of the attachment.MessageMessageAuthor. getMessage()Gets the message.MessageReaction. getMessage()Gets the message, the reaction belongs to.Methods in org.javacord.api.entity.message that return types with arguments of type Message Modifier and Type Method Description default CompletableFuture<Message>Message. crossPost()Cross posts the message if it is in a announcement channel.static CompletableFuture<Message>Message. crossPost(DiscordApi api, long channelId, long messageId)Cross posts the message if it is in a announcement channel.default CompletableFuture<Message>UncachedMessageUtil. crossPost(long channelId, long messageId)Cross posts the message if it is in a announcement channel.CompletableFuture<Message>UncachedMessageUtil. crossPost(String channelId, String messageId)Cross posts the message if it is in a announcement channel.default CompletableFuture<Message>Message. edit(String content)Updates the content of the message.default CompletableFuture<Message>Message. edit(String content, EmbedBuilder embed)Updates the content and the embed of the message.static CompletableFuture<Message>Message. edit(DiscordApi api, long channelId, long messageId, String content)Updates the content of the message.static CompletableFuture<Message>Message. edit(DiscordApi api, long channelId, long messageId, String content, boolean updateContent, EmbedBuilder embed, boolean updateEmbed)Updates the content and the embed of the message.static CompletableFuture<Message>Message. edit(DiscordApi api, long channelId, long messageId, String content, EmbedBuilder embed)Updates the content and the embed of the message.static CompletableFuture<Message>Message. edit(DiscordApi api, long channelId, long messageId, EmbedBuilder embed)Updates the embed of the message.static CompletableFuture<Message>Message. edit(DiscordApi api, String channelId, String messageId, String content)Updates the content of the message.static CompletableFuture<Message>Message. edit(DiscordApi api, String channelId, String messageId, String content, boolean updateContent, EmbedBuilder embed, boolean updateEmbed)Updates the content and the embed of the message.static CompletableFuture<Message>Message. edit(DiscordApi api, String channelId, String messageId, String content, EmbedBuilder embed)Updates the content and the embed of the message.static CompletableFuture<Message>Message. edit(DiscordApi api, String channelId, String messageId, EmbedBuilder embed)Updates the embed of the message.default CompletableFuture<Message>Message. edit(EmbedBuilder embed)Updates the embed of the message.CompletableFuture<Message>UncachedMessageUtil. edit(long channelId, long messageId, String content)Updates the content of the message.CompletableFuture<Message>UncachedMessageUtil. edit(long channelId, long messageId, String content, boolean updateContent, EmbedBuilder embed, boolean updateEmbed)Updates the content and the embed of the message.CompletableFuture<Message>UncachedMessageUtil. edit(long channelId, long messageId, String content, EmbedBuilder embed)Updates the content and the embed of the message.CompletableFuture<Message>UncachedMessageUtil. edit(long channelId, long messageId, EmbedBuilder embed)Updates the embed of the message.CompletableFuture<Message>UncachedMessageUtil. edit(String channelId, String messageId, String content)Updates the content of the message.CompletableFuture<Message>UncachedMessageUtil. edit(String channelId, String messageId, String content, boolean updateContent, EmbedBuilder embed, boolean updateEmbed)Updates the content and the embed of the message.CompletableFuture<Message>UncachedMessageUtil. edit(String channelId, String messageId, String content, EmbedBuilder embed)Updates the content and the embed of the message.CompletableFuture<Message>UncachedMessageUtil. edit(String channelId, String messageId, EmbedBuilder embed)Updates the embed of the message.default Optional<Message>Message. getCurrentCachedInstance()default CompletableFuture<Message>Message. getLatestInstance()default Stream<Message>Message. getMessagesAfterAsStream()Gets a stream of messages after this message sorted from oldest to newest.default Stream<Message>Message. getMessagesAroundAsStream()Gets a stream of messages around this message.default Stream<Message>Message. getMessagesBeforeAsStream()Gets a stream of messages before this message sorted from newest to oldest.default Stream<Message>Message. getMessagesBetweenAsStream(long other)Gets a stream of all messages between this message and the given message, excluding the boundaries, sorted from this message to the given message.default Stream<Message>Message. getMessagesBetweenAsStream(Message other)Gets a stream of all messages between this message and the given message, excluding the boundaries, sorted from this message to the given message.default Optional<Message>MessageSet. getNewestMessage()Gets the newest message in the history.default Optional<Message>MessageSet. getOldestMessage()Gets the oldest message in the history.Optional<Message>Message. getReferencedMessage()Gets the message referenced with a reply.default CompletableFuture<Message>Message. removeContent()Removes the content of the message.static CompletableFuture<Message>Message. removeContent(DiscordApi api, long channelId, long messageId)Removes the content of the message.static CompletableFuture<Message>Message. removeContent(DiscordApi api, String channelId, String messageId)Removes the content of the message.CompletableFuture<Message>UncachedMessageUtil. removeContent(long channelId, long messageId)Removes the content of the message.CompletableFuture<Message>UncachedMessageUtil. removeContent(String channelId, String messageId)Removes the content of the message.default CompletableFuture<Message>Message. removeContentAndEmbed()Removes the content and embed of the message.static CompletableFuture<Message>Message. removeContentAndEmbed(DiscordApi api, long channelId, long messageId)Removes the content and embed of the message.static CompletableFuture<Message>Message. removeContentAndEmbed(DiscordApi api, String channelId, String messageId)Removes the content and embed of the message.CompletableFuture<Message>UncachedMessageUtil. removeContentAndEmbed(long channelId, long messageId)Removes the content and embed of the message.CompletableFuture<Message>UncachedMessageUtil. removeContentAndEmbed(String channelId, String messageId)Removes the content and embed of the message.default CompletableFuture<Message>Message. removeEmbed()Removes the embed of the message.static CompletableFuture<Message>Message. removeEmbed(DiscordApi api, long channelId, long messageId)Removes the embed of the message.static CompletableFuture<Message>Message. removeEmbed(DiscordApi api, String channelId, String messageId)Removes the embed of the message.CompletableFuture<Message>UncachedMessageUtil. removeEmbed(long channelId, long messageId)Removes the embed of the message.CompletableFuture<Message>UncachedMessageUtil. removeEmbed(String channelId, String messageId)Removes the embed of the message.default CompletableFuture<Message>Message. reply(String messageContent)Replies to this message with the given text.default CompletableFuture<Message>Message. reply(EmbedBuilder embed)Replies to this message with the given embed.default Optional<CompletableFuture<Message>>Message. requestReferencedMessage()Requests the message referenced with a reply.CompletableFuture<Message>MessageBuilder. send(TextChannel channel)Sends the message.CompletableFuture<Message>MessageBuilder. send(Messageable messageable)Sends the message.CompletableFuture<Message>MessageBuilder. send(User user)Sends the message.CompletableFuture<Message>MessageBuilder. send(IncomingWebhook webhook)Sends the message.CompletableFuture<Message>WebhookMessageBuilder. send(DiscordApi api, long webhookId, String webhookToken)Sends the message.CompletableFuture<Message>WebhookMessageBuilder. send(DiscordApi api, String webhookUrl)Sends the message.CompletableFuture<Message>WebhookMessageBuilder. send(DiscordApi api, String webhookId, String webhookToken)Sends the message.CompletableFuture<Message>WebhookMessageBuilder. send(IncomingWebhook webhook)Sends the message.default CompletableFuture<Message>Messageable. sendMessage(File... files)Sends a message.default CompletableFuture<Message>Messageable. sendMessage(InputStream stream, String fileName)Sends a message.default CompletableFuture<Message>Messageable. sendMessage(String content)Sends a message.default CompletableFuture<Message>Messageable. sendMessage(String content, File... files)Sends a message.default CompletableFuture<Message>Messageable. sendMessage(String content, InputStream stream, String fileName)Sends a message.default CompletableFuture<Message>Messageable. sendMessage(String content, EmbedBuilder embed)Sends a message.default CompletableFuture<Message>Messageable. sendMessage(String content, EmbedBuilder embed, boolean tts, String nonce)Sends a message.default CompletableFuture<Message>Messageable. sendMessage(String content, EmbedBuilder embed, boolean tts, String nonce, File... files)Sends a message.default CompletableFuture<Message>Messageable. sendMessage(String content, EmbedBuilder embed, boolean tts, String nonce, InputStream stream, String fileName)Sends a message.default CompletableFuture<Message>Messageable. sendMessage(String content, EmbedBuilder embed, File... files)Sends a message.default CompletableFuture<Message>Messageable. sendMessage(String content, EmbedBuilder embed, InputStream stream, String fileName)Sends a message.default CompletableFuture<Message>Messageable. sendMessage(EmbedBuilder embed)Sends a message.default CompletableFuture<Message>Messageable. sendMessage(EmbedBuilder embed, File... files)Sends a message.default CompletableFuture<Message>Messageable. sendMessage(EmbedBuilder embed, InputStream stream, String fileName)Sends a message.CompletableFuture<Message>MessageBuilder. sendWithWebhook(DiscordApi api, long webhookId, String webhookToken)Sends the message.CompletableFuture<Message>MessageBuilder. sendWithWebhook(DiscordApi api, String webhookUrl)Sends the message.CompletableFuture<Message>MessageBuilder. sendWithWebhook(DiscordApi api, String webhookId, String webhookToken)Sends the message.Methods in org.javacord.api.entity.message with parameters of type Message Modifier and Type Method Description static CompletableFuture<Void>Message. delete(DiscordApi api, Message... messages)Deletes multiple messages at once.CompletableFuture<Void>UncachedMessageUtil. delete(Message... messages)Deletes multiple messages at once.static MessageBuilderMessageBuilder. fromMessage(Message message)Creates a message builder from a message.static WebhookMessageBuilderWebhookMessageBuilder. fromMessage(Message message)Creates a webhook message builder from a message.default CompletableFuture<MessageSet>Message. getMessagesBetween(Message other)Gets all messages between this messages and the given message, excluding the boundaries.default Stream<Message>Message. getMessagesBetweenAsStream(Message other)Gets a stream of all messages between this message and the given message, excluding the boundaries, sorted from this message to the given message.default CompletableFuture<MessageSet>Message. getMessagesBetweenUntil(Message other, Predicate<Message> condition)Gets all messages between this message and the given message, excluding the boundaries, until one that meets the given condition is found.default CompletableFuture<MessageSet>Message. getMessagesBetweenWhile(Message other, Predicate<Message> condition)Gets all messages between this message and the given message, excluding the boundaries, while they meet the given condition.MessageSetMessageSet. headSet(Message toElement)MessageSetMessageSet. headSet(Message toElement, boolean inclusive)MessageBuilderMessageBuilder. replyTo(Message message)Sets the message to reply to.MessageSetMessageSet. subSet(Message fromElement, boolean fromInclusive, Message toElement, boolean toInclusive)MessageSetMessageSet. subSet(Message fromElement, Message toElement)MessageSetMessageSet. tailSet(Message fromElement)MessageSetMessageSet. tailSet(Message fromElement, boolean inclusive)Method parameters in org.javacord.api.entity.message with type arguments of type Message Modifier and Type Method Description static CompletableFuture<Void>Message. delete(DiscordApi api, Iterable<Message> messages)Deletes multiple messages at once.CompletableFuture<Void>UncachedMessageUtil. delete(Iterable<Message> messages)Deletes multiple messages at once.default CompletableFuture<MessageSet>Message. getMessagesAfterUntil(Predicate<Message> condition)Gets messages after this message until one that meets the given condition is found.default CompletableFuture<MessageSet>Message. getMessagesAfterWhile(Predicate<Message> condition)Gets messages after this message while they meet the given condition.default CompletableFuture<MessageSet>Message. getMessagesAroundUntil(Predicate<Message> condition)Gets messages around this message until one that meets the given condition is found.default CompletableFuture<MessageSet>Message. getMessagesAroundWhile(Predicate<Message> condition)Gets messages around this message while they meet the given condition.default CompletableFuture<MessageSet>Message. getMessagesBeforeUntil(Predicate<Message> condition)Gets messages before this message until one that meets the given condition is found.default CompletableFuture<MessageSet>Message. getMessagesBeforeWhile(Predicate<Message> condition)Gets messages before this message while they meet the given condition.default CompletableFuture<MessageSet>Message. getMessagesBetweenUntil(long other, Predicate<Message> condition)Gets all messages between this message and the given message, excluding the boundaries, until one that meets the given condition is found.default CompletableFuture<MessageSet>Message. getMessagesBetweenUntil(Message other, Predicate<Message> condition)Gets all messages between this message and the given message, excluding the boundaries, until one that meets the given condition is found.default CompletableFuture<MessageSet>Message. getMessagesBetweenWhile(long other, Predicate<Message> condition)Gets all messages between this message and the given message, excluding the boundaries, while they meet the given condition.default CompletableFuture<MessageSet>Message. getMessagesBetweenWhile(Message other, Predicate<Message> condition)Gets all messages between this message and the given message, excluding the boundaries, while they meet the given condition. -
Uses of Message in org.javacord.api.entity.message.internal
Methods in org.javacord.api.entity.message.internal that return types with arguments of type Message Modifier and Type Method Description CompletableFuture<Message>MessageBuilderDelegate. send(TextChannel channel)Sends the message.CompletableFuture<Message>MessageBuilderDelegate. send(Messageable messageable)Sends the message.CompletableFuture<Message>MessageBuilderDelegate. send(User user)Sends the message.CompletableFuture<Message>MessageBuilderDelegate. send(IncomingWebhook webhook)Sends the message.CompletableFuture<Message>WebhookMessageBuilderDelegate. send(DiscordApi api, String webhookId, String webhookToken)Sends the message without waiting for a response.CompletableFuture<Message>MessageBuilderDelegate. sendWithWebhook(DiscordApi api, String webhookId, String webhookToken)Sends the message. -
Uses of Message in org.javacord.api.entity.webhook
Methods in org.javacord.api.entity.webhook that return types with arguments of type Message Modifier and Type Method Description default CompletableFuture<Message>IncomingWebhook. sendMessage(String content, String displayName, URL avatarUrl)Sends a message.default CompletableFuture<Message>IncomingWebhook. sendMessage(String content, String displayName, Icon avatar)Sends a message.default CompletableFuture<Message>IncomingWebhook. sendMessage(String content, EmbedBuilder... embeds)Sends a message.default CompletableFuture<Message>IncomingWebhook. sendMessage(String content, EmbedBuilder embed, String displayName, URL avatarUrl)Sends a message.default CompletableFuture<Message>IncomingWebhook. sendMessage(String content, EmbedBuilder embed, String displayName, Icon avatar)Sends a message.default CompletableFuture<Message>IncomingWebhook. sendMessage(EmbedBuilder... embeds)Sends a message.default CompletableFuture<Message>IncomingWebhook. sendMessage(EmbedBuilder embed, String displayName, URL avatarUrl)Sends a message.default CompletableFuture<Message>IncomingWebhook. sendMessage(EmbedBuilder embed, String displayName, Icon avatar)Sends a message. -
Uses of Message in org.javacord.api.event.message
Methods in org.javacord.api.event.message that return Message Modifier and Type Method Description MessageCertainMessageEvent. getMessage()Gets the message of the event.Methods in org.javacord.api.event.message that return types with arguments of type Message Modifier and Type Method Description CompletableFuture<Message>MessageEvent. editMessage(String content)Updates the content of the message involved in the event.CompletableFuture<Message>MessageEvent. editMessage(String content, EmbedBuilder embed)Updates the content and the embed of the message involved in the event.CompletableFuture<Message>MessageEvent. editMessage(EmbedBuilder embed)Updates the embed of the message involved in the event.Optional<Message>OptionalMessageEvent. getMessage()Gets the message from the cache.CompletableFuture<Message>RequestableMessageEvent. requestMessage()Requests a message from Discord, if it's not cached.
-