Uses of Class
org.javacord.api.entity.message.embed.EmbedBuilder
-
-
Uses of EmbedBuilder in org.javacord.api.entity.message
Methods in org.javacord.api.entity.message with parameters of type EmbedBuilder Modifier and Type Method Description WebhookMessageBuilderWebhookMessageBuilder. addEmbed(EmbedBuilder embed)Adds the embed to the message.WebhookMessageBuilderWebhookMessageBuilder. addEmbeds(EmbedBuilder... embeds)Adds the embeds to 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, 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, 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, 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, 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.WebhookMessageBuilderWebhookMessageBuilder. removeEmbed(EmbedBuilder embed)Removes the embed from the message.WebhookMessageBuilderWebhookMessageBuilder. removeEmbeds(EmbedBuilder... embeds)Removes the embeds from the message.default CompletableFuture<Message>Message. reply(EmbedBuilder embed)Replies to this message with the given embed.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.MessageBuilderMessageBuilder. setEmbed(EmbedBuilder embed)Sets the embed of the message. -
Uses of EmbedBuilder in org.javacord.api.entity.message.embed
Methods in org.javacord.api.entity.message.embed that return EmbedBuilder Modifier and Type Method Description EmbedBuilderEmbedBuilder. addField(String name, String value)Adds a non-inline field to the embed.EmbedBuilderEmbedBuilder. addField(String name, String value, boolean inline)Adds a field to the embed.EmbedBuilderEmbedBuilder. addInlineField(String name, String value)Adds an inline field to the embed.EmbedBuilderEmbedBuilder. removeAllFields()Removes all fields of the embed.EmbedBuilderEmbedBuilder. removeFields(Predicate<EmbedField> predicate)Removes all fields of the embed that satisfy the given predicate.EmbedBuilderEmbedBuilder. setAuthor(String name)Sets the author of the embed.EmbedBuilderEmbedBuilder. setAuthor(String name, String url, byte[] icon)Sets the author of the embed.EmbedBuilderEmbedBuilder. setAuthor(String name, String url, byte[] icon, String fileType)Sets the author of the embed.EmbedBuilderEmbedBuilder. setAuthor(String name, String url, BufferedImage icon)Sets the author of the embed.EmbedBuilderEmbedBuilder. setAuthor(String name, String url, BufferedImage icon, String fileType)Sets the author of the embed.EmbedBuilderEmbedBuilder. setAuthor(String name, String url, File icon)Sets the author of the embed.EmbedBuilderEmbedBuilder. setAuthor(String name, String url, InputStream icon)Sets the author of the embed.EmbedBuilderEmbedBuilder. setAuthor(String name, String url, InputStream icon, String fileType)Sets the author of the embed.EmbedBuilderEmbedBuilder. setAuthor(String name, String url, String iconUrl)Sets the author of the embed.EmbedBuilderEmbedBuilder. setAuthor(String name, String url, Icon icon)Sets the author of the embed.EmbedBuilderEmbedBuilder. setAuthor(MessageAuthor author)Sets the author of the embed.EmbedBuilderEmbedBuilder. setAuthor(User author)Sets the author of the embed.EmbedBuilderEmbedBuilder. setColor(Color color)Sets the color of the embed.EmbedBuilderEmbedBuilder. setDescription(String description)Sets the description of the embed.EmbedBuilderEmbedBuilder. setFooter(String text)Sets the footer of the embed.EmbedBuilderEmbedBuilder. setFooter(String text, byte[] icon)Sets the footer of the embed.EmbedBuilderEmbedBuilder. setFooter(String text, byte[] icon, String fileType)Sets the footer of the embed.EmbedBuilderEmbedBuilder. setFooter(String text, BufferedImage icon)Sets the footer of the embed.EmbedBuilderEmbedBuilder. setFooter(String text, BufferedImage icon, String fileType)Sets the footer of the embed.EmbedBuilderEmbedBuilder. setFooter(String text, File icon)Sets the footer of the embed.EmbedBuilderEmbedBuilder. setFooter(String text, InputStream icon)Sets the footer of the embed.EmbedBuilderEmbedBuilder. setFooter(String text, InputStream icon, String fileType)Sets the footer of the embed.EmbedBuilderEmbedBuilder. setFooter(String text, String iconUrl)Sets the footer of the embed.EmbedBuilderEmbedBuilder. setFooter(String text, Icon icon)Sets the footer of the embed.EmbedBuilderEmbedBuilder. setImage(byte[] image)Sets the image of the embed.EmbedBuilderEmbedBuilder. setImage(byte[] image, String fileType)Sets the image of the embed.EmbedBuilderEmbedBuilder. setImage(BufferedImage image)Sets the image of the embed.EmbedBuilderEmbedBuilder. setImage(BufferedImage image, String fileType)Sets the image of the embed.EmbedBuilderEmbedBuilder. setImage(File image)Sets the image of the embed.EmbedBuilderEmbedBuilder. setImage(InputStream image)Sets the image of the embed.EmbedBuilderEmbedBuilder. setImage(InputStream image, String fileType)Sets the image of the embed.EmbedBuilderEmbedBuilder. setImage(String url)Sets the image of the embed.EmbedBuilderEmbedBuilder. setImage(Icon image)Sets the image of the embed.EmbedBuilderEmbedBuilder. setThumbnail(byte[] thumbnail)Sets the thumbnail of the embed.EmbedBuilderEmbedBuilder. setThumbnail(byte[] thumbnail, String fileType)Sets the thumbnail of the embed.EmbedBuilderEmbedBuilder. setThumbnail(BufferedImage thumbnail)Sets the thumbnail of the embed.EmbedBuilderEmbedBuilder. setThumbnail(BufferedImage thumbnail, String fileType)Sets the thumbnail of the embed.EmbedBuilderEmbedBuilder. setThumbnail(File thumbnail)Sets the thumbnail of the embed.EmbedBuilderEmbedBuilder. setThumbnail(InputStream thumbnail)Sets the thumbnail of the embed.EmbedBuilderEmbedBuilder. setThumbnail(InputStream thumbnail, String fileType)Sets the thumbnail of the embed.EmbedBuilderEmbedBuilder. setThumbnail(String url)Sets the thumbnail of the embed.EmbedBuilderEmbedBuilder. setThumbnail(Icon thumbnail)Sets the thumbnail of the embed.EmbedBuilderEmbedBuilder. setTimestamp(Instant timestamp)Sets the timestamp of the embed.EmbedBuilderEmbedBuilder. setTimestampToNow()Sets the current time as timestamp of the embed.EmbedBuilderEmbedBuilder. setTitle(String title)Sets the title of the embed.EmbedBuilderEmbedBuilder. setUrl(String url)Sets the url of the embed.default EmbedBuilderEmbed. toBuilder()Creates a builder, based on the embed.EmbedBuilderEmbedBuilder. updateAllFields(Consumer<EditableEmbedField> updater)Updates all fields of the embed using the given updater.EmbedBuilderEmbedBuilder. updateFields(Predicate<EmbedField> predicate, Consumer<EditableEmbedField> updater)Updates all fields of the embed that satisfy the given predicate using the given updater. -
Uses of EmbedBuilder in org.javacord.api.entity.message.internal
Methods in org.javacord.api.entity.message.internal with parameters of type EmbedBuilder Modifier and Type Method Description voidMessageBuilderDelegate. addEmbed(EmbedBuilder embed)Adds the embed to the message.voidWebhookMessageBuilderDelegate. addEmbed(EmbedBuilder embed)Adds the embed to the message.voidWebhookMessageBuilderDelegate. addEmbeds(EmbedBuilder... embeds)Adds the embeds to the message.voidWebhookMessageBuilderDelegate. removeEmbed(EmbedBuilder embed)Removes the embed from the message.voidWebhookMessageBuilderDelegate. removeEmbeds(EmbedBuilder... embeds)Removes the embeds from the message. -
Uses of EmbedBuilder in org.javacord.api.entity.webhook
Methods in org.javacord.api.entity.webhook with parameters of type EmbedBuilder Modifier and Type Method Description 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 EmbedBuilder in org.javacord.api.event.message
Methods in org.javacord.api.event.message with parameters of type EmbedBuilder Modifier and Type Method Description 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.
-