EmbedBuilder |
EmbedBuilder.addField(String name,
String value) |
Adds a non-inline field to the embed.
|
EmbedBuilder |
EmbedBuilder.addField(String name,
String value,
boolean inline) |
Adds a field to the embed.
|
EmbedBuilder |
EmbedBuilder.addInlineField(String name,
String value) |
Adds an inline field to the embed.
|
EmbedBuilder |
EmbedBuilder.removeAllFields() |
Removes all fields of the embed.
|
EmbedBuilder |
EmbedBuilder.removeFields(Predicate<EmbedField> predicate) |
Removes all fields of the embed that satisfy the given predicate.
|
EmbedBuilder |
EmbedBuilder.setAuthor(String name) |
Sets the author of the embed.
|
EmbedBuilder |
EmbedBuilder.setAuthor(String name,
String url,
byte[] icon) |
Sets the author of the embed.
|
EmbedBuilder |
EmbedBuilder.setAuthor(String name,
String url,
byte[] icon,
String fileType) |
Sets the author of the embed.
|
EmbedBuilder |
EmbedBuilder.setAuthor(String name,
String url,
BufferedImage icon) |
Sets the author of the embed.
|
EmbedBuilder |
EmbedBuilder.setAuthor(String name,
String url,
BufferedImage icon,
String fileType) |
Sets the author of the embed.
|
EmbedBuilder |
EmbedBuilder.setAuthor(String name,
String url,
File icon) |
Sets the author of the embed.
|
EmbedBuilder |
EmbedBuilder.setAuthor(String name,
String url,
InputStream icon) |
Sets the author of the embed.
|
EmbedBuilder |
EmbedBuilder.setAuthor(String name,
String url,
InputStream icon,
String fileType) |
Sets the author of the embed.
|
EmbedBuilder |
EmbedBuilder.setAuthor(String name,
String url,
String iconUrl) |
Sets the author of the embed.
|
EmbedBuilder |
EmbedBuilder.setAuthor(String name,
String url,
Icon icon) |
Sets the author of the embed.
|
EmbedBuilder |
EmbedBuilder.setAuthor(MessageAuthor author) |
Sets the author of the embed.
|
EmbedBuilder |
EmbedBuilder.setAuthor(User author) |
Sets the author of the embed.
|
EmbedBuilder |
EmbedBuilder.setColor(Color color) |
Sets the color of the embed.
|
EmbedBuilder |
EmbedBuilder.setDescription(String description) |
Sets the description of the embed.
|
EmbedBuilder |
EmbedBuilder.setFooter(String text) |
Sets the footer of the embed.
|
EmbedBuilder |
EmbedBuilder.setFooter(String text,
byte[] icon) |
Sets the footer of the embed.
|
EmbedBuilder |
EmbedBuilder.setFooter(String text,
byte[] icon,
String fileType) |
Sets the footer of the embed.
|
EmbedBuilder |
EmbedBuilder.setFooter(String text,
BufferedImage icon) |
Sets the footer of the embed.
|
EmbedBuilder |
EmbedBuilder.setFooter(String text,
BufferedImage icon,
String fileType) |
Sets the footer of the embed.
|
EmbedBuilder |
EmbedBuilder.setFooter(String text,
File icon) |
Sets the footer of the embed.
|
EmbedBuilder |
EmbedBuilder.setFooter(String text,
InputStream icon) |
Sets the footer of the embed.
|
EmbedBuilder |
EmbedBuilder.setFooter(String text,
InputStream icon,
String fileType) |
Sets the footer of the embed.
|
EmbedBuilder |
EmbedBuilder.setFooter(String text,
String iconUrl) |
Sets the footer of the embed.
|
EmbedBuilder |
EmbedBuilder.setFooter(String text,
Icon icon) |
Sets the footer of the embed.
|
EmbedBuilder |
EmbedBuilder.setImage(byte[] image) |
Sets the image of the embed.
|
EmbedBuilder |
EmbedBuilder.setImage(byte[] image,
String fileType) |
Sets the image of the embed.
|
EmbedBuilder |
EmbedBuilder.setImage(BufferedImage image) |
Sets the image of the embed.
|
EmbedBuilder |
EmbedBuilder.setImage(BufferedImage image,
String fileType) |
Sets the image of the embed.
|
EmbedBuilder |
EmbedBuilder.setImage(File image) |
Sets the image of the embed.
|
EmbedBuilder |
EmbedBuilder.setImage(InputStream image) |
Sets the image of the embed.
|
EmbedBuilder |
EmbedBuilder.setImage(InputStream image,
String fileType) |
Sets the image of the embed.
|
EmbedBuilder |
EmbedBuilder.setImage(String url) |
Sets the image of the embed.
|
EmbedBuilder |
EmbedBuilder.setImage(Icon image) |
Sets the image of the embed.
|
EmbedBuilder |
EmbedBuilder.setThumbnail(byte[] thumbnail) |
Sets the thumbnail of the embed.
|
EmbedBuilder |
EmbedBuilder.setThumbnail(byte[] thumbnail,
String fileType) |
Sets the thumbnail of the embed.
|
EmbedBuilder |
EmbedBuilder.setThumbnail(BufferedImage thumbnail) |
Sets the thumbnail of the embed.
|
EmbedBuilder |
EmbedBuilder.setThumbnail(BufferedImage thumbnail,
String fileType) |
Sets the thumbnail of the embed.
|
EmbedBuilder |
EmbedBuilder.setThumbnail(File thumbnail) |
Sets the thumbnail of the embed.
|
EmbedBuilder |
EmbedBuilder.setThumbnail(InputStream thumbnail) |
Sets the thumbnail of the embed.
|
EmbedBuilder |
EmbedBuilder.setThumbnail(InputStream thumbnail,
String fileType) |
Sets the thumbnail of the embed.
|
EmbedBuilder |
EmbedBuilder.setThumbnail(String url) |
Sets the thumbnail of the embed.
|
EmbedBuilder |
EmbedBuilder.setThumbnail(Icon thumbnail) |
Sets the thumbnail of the embed.
|
EmbedBuilder |
EmbedBuilder.setTimestamp(Instant timestamp) |
Sets the timestamp of the embed.
|
EmbedBuilder |
EmbedBuilder.setTimestampToNow() |
Sets the current time as timestamp of the embed.
|
EmbedBuilder |
EmbedBuilder.setTitle(String title) |
Sets the title of the embed.
|
EmbedBuilder |
EmbedBuilder.setUrl(String url) |
Sets the url of the embed.
|
default EmbedBuilder |
Embed.toBuilder() |
Creates a builder, based on the embed.
|
EmbedBuilder |
EmbedBuilder.updateAllFields(Consumer<EditableEmbedField> updater) |
Updates all fields of the embed using the given updater.
|
EmbedBuilder |
EmbedBuilder.updateFields(Predicate<EmbedField> predicate,
Consumer<EditableEmbedField> updater) |
Updates all fields of the embed that satisfy the given predicate using the given updater.
|