A B C D E F G H I J L M N O R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- addEmbeds(WebhookEmbed...) - Method in class club.minnced.discord.webhook.send.WebhookMessageBuilder
-
Adds the provided embeds to the builder
- addEmbeds(Collection<? extends WebhookEmbed>) - Method in class club.minnced.discord.webhook.send.WebhookMessageBuilder
-
Adds the provided embeds to the builder
- addField(WebhookEmbed.EmbedField) - Method in class club.minnced.discord.webhook.send.WebhookEmbedBuilder
-
Adds an
WebhookEmbed.EmbedField
to this embed. - addFile(File) - Method in class club.minnced.discord.webhook.send.WebhookMessageBuilder
-
Adds the provided file as an attachment to this message.
- addFile(String, @org.jetbrains.annotations.NotNull byte[]) - Method in class club.minnced.discord.webhook.send.WebhookMessageBuilder
-
Adds the provided data as a file attachment to this message.
- addFile(String, File) - Method in class club.minnced.discord.webhook.send.WebhookMessageBuilder
-
Adds the provided file as an attachment to this message.
- addFile(String, InputStream) - Method in class club.minnced.discord.webhook.send.WebhookMessageBuilder
-
Adds the provided data as a file attachment to this message.
- addWebhooks(WebhookClient...) - Method in class club.minnced.discord.webhook.WebhookCluster
-
Adds the provided webhooks to the cluster.
- addWebhooks(Collection<WebhookClient>) - Method in class club.minnced.discord.webhook.WebhookCluster
-
Adds the provided webhooks to the cluster.
- all() - Static method in class club.minnced.discord.webhook.send.AllowedMentions
-
Parse all mentions.
- AllowedMentions - Class in club.minnced.discord.webhook.send
-
Constructs a whitelist of allowed mentions for a message.
- AllowedMentions() - Constructor for class club.minnced.discord.webhook.send.AllowedMentions
- append(String) - Method in class club.minnced.discord.webhook.send.WebhookMessageBuilder
-
Appends the provided content to the already present content in this message.
- asEphemeral(boolean) - Method in class club.minnced.discord.webhook.send.WebhookMessage
-
Returns a new WebhookMessage instance with the ephemeral flag turned on/off (true/false).
B
- broadcast(WebhookEmbed, WebhookEmbed...) - Method in class club.minnced.discord.webhook.WebhookCluster
-
Sends a message to all registered clients.
- broadcast(WebhookMessage) - Method in class club.minnced.discord.webhook.WebhookCluster
-
Sends a message to all registered clients.
- broadcast(File) - Method in class club.minnced.discord.webhook.WebhookCluster
-
Sends a message to all registered clients.
- broadcast(String) - Method in class club.minnced.discord.webhook.WebhookCluster
-
Sends a message to all registered clients.
- broadcast(String, @org.jetbrains.annotations.NotNull byte[]) - Method in class club.minnced.discord.webhook.WebhookCluster
-
Sends a message to all registered clients.
- broadcast(String, File) - Method in class club.minnced.discord.webhook.WebhookCluster
-
Sends a message to all registered clients.
- broadcast(String, InputStream) - Method in class club.minnced.discord.webhook.WebhookCluster
-
Sends a message to all registered clients.
- broadcast(Collection<WebhookEmbed>) - Method in class club.minnced.discord.webhook.WebhookCluster
-
Sends a message to all registered clients.
- build() - Method in class club.minnced.discord.webhook.send.WebhookEmbedBuilder
-
Builds a new
WebhookEmbed
instance from the current settings. - build() - Method in class club.minnced.discord.webhook.send.WebhookMessageBuilder
-
Constructs the
WebhookMessage
from the current configurations. - build() - Method in class club.minnced.discord.webhook.WebhookClientBuilder
-
Builds the
WebhookClient
with the current settings - buildD4J() - Method in class club.minnced.discord.webhook.WebhookClientBuilder
-
Builds the
D4JWebhookClient
with the current settings - buildJavacord() - Method in class club.minnced.discord.webhook.WebhookClientBuilder
-
Builds the
JavacordWebhookClient
with the current settings - buildJDA() - Method in class club.minnced.discord.webhook.WebhookClientBuilder
-
Builds the
JDAWebhookClient
with the current settings - buildWebhook(long, String) - Method in class club.minnced.discord.webhook.WebhookCluster
-
Builds a
WebhookClient
instance with the provided components and specified default configurations.
C
- close() - Method in class club.minnced.discord.webhook.WebhookClient
-
Stops the thread pool used by this client.
- close() - Method in class club.minnced.discord.webhook.WebhookCluster
-
Performs cascade closing on current webhook clients, all clients will be closed and removed after this returns.
- closeIf(Predicate<WebhookClient>) - Method in class club.minnced.discord.webhook.WebhookCluster
-
Closes and removes webhook clients based on the specified filter.
- club.minnced.discord.webhook - package club.minnced.discord.webhook
- club.minnced.discord.webhook.exception - package club.minnced.discord.webhook.exception
- club.minnced.discord.webhook.external - package club.minnced.discord.webhook.external
- club.minnced.discord.webhook.receive - package club.minnced.discord.webhook.receive
- club.minnced.discord.webhook.send - package club.minnced.discord.webhook.send
- club.minnced.discord.webhook.util - package club.minnced.discord.webhook.util
- COMMIT - Static variable in class club.minnced.discord.webhook.LibraryInfo
- contentType() - Method in class club.minnced.discord.webhook.IOUtil.OctetBody
- CROSSPOSTED - Static variable in class club.minnced.discord.webhook.MessageFlags
D
- D4JWebhookClient - Class in club.minnced.discord.webhook.external
- D4JWebhookClient(long, String, boolean, OkHttpClient, ScheduledExecutorService, AllowedMentions) - Constructor for class club.minnced.discord.webhook.external.D4JWebhookClient
- D4JWebhookClient(long, String, boolean, OkHttpClient, ScheduledExecutorService, AllowedMentions, long) - Constructor for class club.minnced.discord.webhook.external.D4JWebhookClient
- DEBUG_INFO - Static variable in class club.minnced.discord.webhook.LibraryInfo
- DEFAULT - Static variable in interface club.minnced.discord.webhook.util.WebhookErrorHandler
-
The default error handling which simply logs the exception using SLF4J
- DefaultWebhookThreadFactory(long, boolean) - Constructor for class club.minnced.discord.webhook.util.ThreadPools.DefaultWebhookThreadFactory
- delete(long) - Method in class club.minnced.discord.webhook.WebhookClient
-
Deletes the message with the provided ID.
- delete(String) - Method in class club.minnced.discord.webhook.WebhookClient
-
Deletes the message with the provided ID.
- DISCORD_API_VERSION - Static variable in class club.minnced.discord.webhook.LibraryInfo
E
- edit(long, WebhookEmbed, WebhookEmbed...) - Method in class club.minnced.discord.webhook.WebhookClient
-
Edits the target message and updates it with the provided
WebhookEmbed
to the webhook. - edit(long, WebhookMessage) - Method in class club.minnced.discord.webhook.WebhookClient
-
Edits the target message and updates it with the provided
WebhookMessage
to the webhook. - edit(long, MessageEditSpec) - Method in class club.minnced.discord.webhook.external.D4JWebhookClient
-
Edits the target message with the provided
MessageCreateSpec
to the webhook. - edit(long, String) - Method in class club.minnced.discord.webhook.WebhookClient
-
Edits the target message and updates it with the provided content as normal message to the webhook.
- edit(long, Collection<WebhookEmbed>) - Method in class club.minnced.discord.webhook.WebhookClient
-
Edits the target message and updates it with the provided
WebhookEmbed
to the webhook. - edit(long, Consumer<? super MessageCreateSpec>) - Method in class club.minnced.discord.webhook.external.D4JWebhookClient
-
Deprecated.Replace with
D4JWebhookClient.edit(long, MessageEditSpec)
- edit(long, Message) - Method in class club.minnced.discord.webhook.external.JDAWebhookClient
-
Edits the target message with the provided
Message
to the webhook. - edit(long, MessageEmbed) - Method in class club.minnced.discord.webhook.external.JDAWebhookClient
-
Edits the target message with the provided
MessageEmbed
to the webhook. - edit(long, Embed) - Method in class club.minnced.discord.webhook.external.JavacordWebhookClient
-
Edits the target message with the provided
Embed
to the webhook. - edit(long, Message) - Method in class club.minnced.discord.webhook.external.JavacordWebhookClient
-
Edits the target message with the provided
Message
to the webhook. - edit(String, WebhookEmbed, WebhookEmbed...) - Method in class club.minnced.discord.webhook.WebhookClient
-
Edits the target message and updates it with the provided
WebhookEmbed
to the webhook. - edit(String, WebhookMessage) - Method in class club.minnced.discord.webhook.WebhookClient
-
Edits the target message and updates it with the provided
WebhookMessage
to the webhook. - edit(String, MessageEditSpec) - Method in class club.minnced.discord.webhook.external.D4JWebhookClient
-
Edits the target message with the provided
MessageCreateSpec
to the webhook. - edit(String, String) - Method in class club.minnced.discord.webhook.WebhookClient
-
Edits the target message and updates it with the provided content as normal message to the webhook.
- edit(String, Collection<WebhookEmbed>) - Method in class club.minnced.discord.webhook.WebhookClient
-
Edits the target message and updates it with the provided
WebhookEmbed
to the webhook. - edit(String, Consumer<? super MessageCreateSpec>) - Method in class club.minnced.discord.webhook.external.D4JWebhookClient
-
Deprecated.Replace with
D4JWebhookClient.edit(long, MessageEditSpec)
- edit(String, Message) - Method in class club.minnced.discord.webhook.external.JDAWebhookClient
-
Edits the target message with the provided
Message
to the webhook. - edit(String, MessageEmbed) - Method in class club.minnced.discord.webhook.external.JDAWebhookClient
-
Edits the target message with the provided
MessageEmbed
to the webhook. - edit(String, Embed) - Method in class club.minnced.discord.webhook.external.JavacordWebhookClient
-
Edits the target message with the provided
Embed
to the webhook. - edit(String, Message) - Method in class club.minnced.discord.webhook.external.JavacordWebhookClient
-
Edits the target message with the provided
Message
to the webhook. - EmbedAuthor(String, String, String) - Constructor for class club.minnced.discord.webhook.send.WebhookEmbed.EmbedAuthor
-
Creates a new embed author
- EmbedField(boolean, String, String) - Constructor for class club.minnced.discord.webhook.send.WebhookEmbed.EmbedField
-
Creates a new embed field
- EmbedFooter(String, String) - Constructor for class club.minnced.discord.webhook.send.WebhookEmbed.EmbedFooter
-
Creates a new embed footer
- EmbedImage(String, String, int, int) - Constructor for class club.minnced.discord.webhook.receive.ReadonlyEmbed.EmbedImage
- EmbedProvider(String, String) - Constructor for class club.minnced.discord.webhook.receive.ReadonlyEmbed.EmbedProvider
- embeds(WebhookEmbed, WebhookEmbed...) - Static method in class club.minnced.discord.webhook.send.WebhookMessage
-
Creates a WebhookMessage from the provided embeds.
- embeds(Collection<WebhookEmbed>) - Static method in class club.minnced.discord.webhook.send.WebhookMessage
-
Creates a WebhookMessage from the provided embeds.
- EmbedTitle(String, String) - Constructor for class club.minnced.discord.webhook.send.WebhookEmbed.EmbedTitle
-
Creates a new embed title
- EmbedVideo(String, int, int) - Constructor for class club.minnced.discord.webhook.receive.ReadonlyEmbed.EmbedVideo
- EMPTY_BYTES - Static variable in class club.minnced.discord.webhook.IOUtil
-
Empty byte-array, used for
IOUtil.readAllBytes(java.io.InputStream)
- EntityFactory - Class in club.minnced.discord.webhook.receive
-
Internal factory used to convert JSON representations into java objects.
- EntityFactory() - Constructor for class club.minnced.discord.webhook.receive.EntityFactory
- EPHEMERAL - Static variable in class club.minnced.discord.webhook.MessageFlags
F
- files(String, Object, Object...) - Static method in class club.minnced.discord.webhook.send.WebhookMessage
-
Creates a WebhookMessage from the provided attachments.
- files(Map<String, ?>) - Static method in class club.minnced.discord.webhook.send.WebhookMessage
-
Creates a WebhookMessage from the provided attachments.
- flipFuture(List<CompletableFuture<T>>) - Static method in class club.minnced.discord.webhook.IOUtil
-
Converts a list of futures in a future of a list.
- from(ReadonlyMessage) - Static method in class club.minnced.discord.webhook.send.WebhookMessage
-
Converts a
ReadonlyMessage
to a WebhookMessage. - from(Webhook) - Static method in class club.minnced.discord.webhook.external.D4JWebhookClient
-
Creates a D4JWebhookClient for the provided webhook.
- from(Webhook) - Static method in class club.minnced.discord.webhook.external.JDAWebhookClient
-
Creates a WebhookClient for the provided webhook.
- from(Webhook) - Static method in class club.minnced.discord.webhook.external.JavacordWebhookClient
-
Creates a WebhookClient for the provided webhook.
- fromD4J(EmbedCreateSpec) - Static method in class club.minnced.discord.webhook.send.WebhookEmbedBuilder
-
Converts a Discord4J
EmbedCreateSpec
into a compatible WebhookEmbedBuilder. - fromD4J(MessageCreateSpec) - Static method in class club.minnced.discord.webhook.send.WebhookMessageBuilder
-
Converts a Discord4J
MessageCreateSpec
into a compatible WebhookMessageBuilder. - fromD4J(MessageEditSpec) - Static method in class club.minnced.discord.webhook.send.WebhookMessageBuilder
-
Converts a Discord4J
MessageCreateSpec
into a compatible WebhookMessageBuilder. - fromD4J(EmbedData) - Static method in class club.minnced.discord.webhook.send.WebhookEmbedBuilder
-
Converts a Discord4J
EmbedData
into a compatible WebhookEmbedBuilder. - fromD4J(Consumer<? super EmbedCreateSpec>) - Static method in class club.minnced.discord.webhook.send.WebhookEmbedBuilder
-
Deprecated.Replace with
WebhookEmbedBuilder.fromD4J(EmbedCreateSpec)
- fromD4J(Consumer<? super MessageCreateSpec>) - Static method in class club.minnced.discord.webhook.send.WebhookMessageBuilder
-
Deprecated.Replace with
WebhookMessageBuilder.fromD4J(MessageCreateSpec)
- fromD4J(Webhook) - Static method in class club.minnced.discord.webhook.WebhookClientBuilder
-
Creates a WebhookClientBuilder for the provided webhook.
- fromJavacord(Embed) - Static method in class club.minnced.discord.webhook.send.WebhookEmbedBuilder
-
Converts a Javacord
Embed
into a compatible WebhookEmbedBuilder. - fromJavacord(Message) - Static method in class club.minnced.discord.webhook.send.WebhookMessageBuilder
-
Converts a Javacord
Message
into a compatible WebhookMessageBuilder. - fromJavacord(Webhook) - Static method in class club.minnced.discord.webhook.WebhookClientBuilder
-
Creates a WebhookClientBuilder for the provided webhook.
- fromJDA(MessageCreateData) - Static method in class club.minnced.discord.webhook.send.WebhookMessageBuilder
-
Converts a JDA
Message
into a compatible WebhookMessageBuilder. - fromJDA(Message) - Static method in class club.minnced.discord.webhook.send.WebhookMessageBuilder
-
Converts a JDA
Message
into a compatible WebhookMessageBuilder. - fromJDA(MessageEmbed) - Static method in class club.minnced.discord.webhook.send.WebhookEmbedBuilder
-
Converts a JDA
MessageEmbed
into a compatible WebhookEmbedBuilder. - fromJDA(Webhook) - Static method in class club.minnced.discord.webhook.WebhookClientBuilder
-
Creates a WebhookClientBuilder for the provided webhook.
G
- get() - Method in interface club.minnced.discord.webhook.IOUtil.SilentSupplier
- get(long) - Method in class club.minnced.discord.webhook.WebhookClient
-
Get the message with the provided ID.
- get(String) - Method in class club.minnced.discord.webhook.WebhookClient
-
Get the message with the provided ID.
- getAttachments() - Method in class club.minnced.discord.webhook.receive.ReadonlyMessage
-
The attachments of this message.
- getAttachments() - Method in class club.minnced.discord.webhook.send.WebhookMessage
-
The attachments for this message
- getAuthor() - Method in class club.minnced.discord.webhook.receive.ReadonlyMessage
-
The author of this message, represented by a
ReadonlyUser
instance. - getAuthor() - Method in class club.minnced.discord.webhook.send.WebhookEmbed
-
The embed author.
- getAvatarId() - Method in class club.minnced.discord.webhook.receive.ReadonlyUser
-
The avatar id of this user, or
null
if no avatar is set. - getAvatarUrl() - Method in class club.minnced.discord.webhook.send.WebhookMessage
-
The avatar url for this message
- getBody() - Method in exception club.minnced.discord.webhook.exception.HttpException
-
The body of HTTP response
- getBody() - Method in class club.minnced.discord.webhook.send.WebhookMessage
-
Provides a
RequestBody
of this message. - getBody(Response) - Static method in class club.minnced.discord.webhook.IOUtil
-
Helper method which handles gzip encoded response bodies
- getChannelId() - Method in class club.minnced.discord.webhook.receive.ReadonlyMessage
-
The channel id for the channel this message was sent in
- getCode() - Method in exception club.minnced.discord.webhook.exception.HttpException
-
The HTTP status code
- getColor() - Method in class club.minnced.discord.webhook.send.WebhookEmbed
-
The rgb color of this embed.
- getContent() - Method in class club.minnced.discord.webhook.receive.ReadonlyMessage
-
The content of this message, this is displayed above embeds and attachments.
- getContent() - Method in class club.minnced.discord.webhook.send.WebhookMessage
-
The content for this message
- getData() - Method in class club.minnced.discord.webhook.send.MessageAttachment
- getDefaultPool(long, ThreadFactory, boolean) - Static method in class club.minnced.discord.webhook.util.ThreadPools
- getDescription() - Method in class club.minnced.discord.webhook.send.WebhookEmbed
-
The description of this embed
- getDiscriminator() - Method in class club.minnced.discord.webhook.receive.ReadonlyUser
-
The 4 digit discriminator of this user
This is show in the client after the#
when viewing profiles. - getEmbeds() - Method in class club.minnced.discord.webhook.receive.ReadonlyMessage
-
The embeds in this message, a webhook can send up to 10 embeds in one message.
- getEmbeds() - Method in class club.minnced.discord.webhook.send.WebhookMessage
-
The embeds for this message
- getFields() - Method in class club.minnced.discord.webhook.send.WebhookEmbed
-
List of fields for this embed.
- getFileAmount() - Method in class club.minnced.discord.webhook.send.WebhookMessageBuilder
-
The amount of files currently added
- getFileName() - Method in class club.minnced.discord.webhook.receive.ReadonlyAttachment
-
The name of this attachment
- getFlags() - Method in class club.minnced.discord.webhook.receive.ReadonlyMessage
-
The flags for this message.
- getFlags() - Method in class club.minnced.discord.webhook.send.WebhookMessage
-
The message flags used for this message.
- getFooter() - Method in class club.minnced.discord.webhook.send.WebhookEmbed
-
The footer of the embed.
- getHeaders() - Method in exception club.minnced.discord.webhook.exception.HttpException
-
The HTTP headers.
- getHeight() - Method in class club.minnced.discord.webhook.receive.ReadonlyAttachment
-
Height of the attachment, this is only relevant to images and videos
- getHeight() - Method in class club.minnced.discord.webhook.receive.ReadonlyEmbed.EmbedImage
-
The height of this image
- getHeight() - Method in class club.minnced.discord.webhook.receive.ReadonlyEmbed.EmbedVideo
-
The height of this video
- getIconUrl() - Method in class club.minnced.discord.webhook.send.WebhookEmbed.EmbedAuthor
-
The iconUrl of this author.
- getIconUrl() - Method in class club.minnced.discord.webhook.send.WebhookEmbed.EmbedFooter
-
The url for the icon of this footer
- getId() - Method in class club.minnced.discord.webhook.receive.ReadonlyAttachment
-
The id of this attachment
- getId() - Method in class club.minnced.discord.webhook.receive.ReadonlyMessage
-
The id of this message.
- getId() - Method in class club.minnced.discord.webhook.receive.ReadonlyUser
-
The id of this user
- getId() - Method in class club.minnced.discord.webhook.WebhookClient
-
The id for this webhook
- getImage() - Method in class club.minnced.discord.webhook.receive.ReadonlyEmbed
-
The image of this embed.
- getImageUrl() - Method in class club.minnced.discord.webhook.send.WebhookEmbed
-
The image url
- getMentionedRoles() - Method in class club.minnced.discord.webhook.receive.ReadonlyMessage
-
List of mentioned role ids
- getMentionedUsers() - Method in class club.minnced.discord.webhook.receive.ReadonlyMessage
-
Users mentioned by this message.
- getName() - Method in class club.minnced.discord.webhook.receive.ReadonlyEmbed.EmbedProvider
-
The name of the provider, or
null
if none is set - getName() - Method in class club.minnced.discord.webhook.receive.ReadonlyUser
-
The name of this user, this is the username and not the guild-specific nickname.
- getName() - Method in class club.minnced.discord.webhook.send.MessageAttachment
- getName() - Method in class club.minnced.discord.webhook.send.WebhookEmbed.EmbedAuthor
-
The name of the author, this is the only visible text of this component.
- getName() - Method in class club.minnced.discord.webhook.send.WebhookEmbed.EmbedField
-
The name of this field.
- getProvider() - Method in class club.minnced.discord.webhook.receive.ReadonlyEmbed
-
The
ReadonlyEmbed.EmbedProvider
Used for services that are automatically embedded by discord when posting a link, this includes services like youtube or twitter. - getProxyUrl() - Method in class club.minnced.discord.webhook.receive.ReadonlyAttachment
-
The proxy url for this attachment, this is used by the client to generate previews of images.
- getProxyUrl() - Method in class club.minnced.discord.webhook.receive.ReadonlyEmbed.EmbedImage
-
The proxy url for this image, this is used to render previews in the discord client.
- getSize() - Method in class club.minnced.discord.webhook.receive.ReadonlyAttachment
-
The approximated size of this embed in bytes
- getText() - Method in class club.minnced.discord.webhook.send.WebhookEmbed.EmbedFooter
-
The visible text of the footer.
- getText() - Method in class club.minnced.discord.webhook.send.WebhookEmbed.EmbedTitle
-
The visible text of this title
- getThreadId() - Method in class club.minnced.discord.webhook.WebhookClient
-
The target thread id this webhook client uses.
- getThumbnail() - Method in class club.minnced.discord.webhook.receive.ReadonlyEmbed
-
The thumbnail of this embed.
- getThumbnailUrl() - Method in class club.minnced.discord.webhook.send.WebhookEmbed
-
The thumbnail url
- getTimeout() - Method in class club.minnced.discord.webhook.WebhookClient
-
The current timeout configured by
WebhookClient.setTimeout(long)
. - getTimestamp() - Method in class club.minnced.discord.webhook.send.WebhookEmbed
-
The timestamp for the embed.
- getTitle() - Method in class club.minnced.discord.webhook.send.WebhookEmbed
-
The title of the embed, this is displayed above the description and below the author.
- getUrl() - Method in class club.minnced.discord.webhook.receive.ReadonlyAttachment
-
The URL for this attachment
- getUrl() - Method in class club.minnced.discord.webhook.receive.ReadonlyEmbed.EmbedImage
-
The URL fot this image
- getUrl() - Method in class club.minnced.discord.webhook.receive.ReadonlyEmbed.EmbedProvider
-
The url of the provider, or
null
if none is set - getUrl() - Method in class club.minnced.discord.webhook.receive.ReadonlyEmbed.EmbedVideo
-
The URL fot this video
- getUrl() - Method in class club.minnced.discord.webhook.send.WebhookEmbed.EmbedAuthor
-
The url of this author.
- getUrl() - Method in class club.minnced.discord.webhook.send.WebhookEmbed.EmbedTitle
-
The hyperlink for this title.
- getUrl() - Method in class club.minnced.discord.webhook.WebhookClient
-
The URL for this webhook formatted using
WebhookClient.WEBHOOK_URL
unless specified byWebhookClientBuilder(String)
explicitly - getUsername() - Method in class club.minnced.discord.webhook.send.WebhookMessage
-
The username for this message
- getValue() - Method in class club.minnced.discord.webhook.send.WebhookEmbed.EmbedField
-
The value of this field.
- getVideo() - Method in class club.minnced.discord.webhook.receive.ReadonlyEmbed
-
The video of this embed.
- getWebhooks() - Method in class club.minnced.discord.webhook.WebhookCluster
-
Unmodifiable list of currently registered clients
- getWidth() - Method in class club.minnced.discord.webhook.receive.ReadonlyAttachment
-
Width of the attachment, this is only relevant to images and videos
- getWidth() - Method in class club.minnced.discord.webhook.receive.ReadonlyEmbed.EmbedImage
-
The width of this image
- getWidth() - Method in class club.minnced.discord.webhook.receive.ReadonlyEmbed.EmbedVideo
-
The width of this video
H
- handle(WebhookClient, String, Throwable) - Method in interface club.minnced.discord.webhook.util.WebhookErrorHandler
-
Implements error handling, must not throw anything!
- HAS_THREAD - Static variable in class club.minnced.discord.webhook.MessageFlags
- HttpException - Exception in club.minnced.discord.webhook.exception
-
Exception thrown in case of unexpected non-2xx HTTP response.
- HttpException(int, String, Headers) - Constructor for exception club.minnced.discord.webhook.exception.HttpException
I
- IOUtil - Class in club.minnced.discord.webhook
-
Utility for various I/O operations used within library internals
- IOUtil() - Constructor for class club.minnced.discord.webhook.IOUtil
- IOUtil.Lazy - Class in club.minnced.discord.webhook
-
Lazy evaluation for logging complex objects
- IOUtil.OctetBody - Class in club.minnced.discord.webhook
-
Wrapper for an
IOUtil.OCTET
request body - IOUtil.SilentSupplier<T> - Interface in club.minnced.discord.webhook
-
Supplier that can throw checked-exceptions
- IS_CROSSPOSTED - Static variable in class club.minnced.discord.webhook.MessageFlags
- isBot() - Method in class club.minnced.discord.webhook.receive.ReadonlyUser
-
Whether this is a bot or not, webhook authors are always bots.
- isEmpty() - Method in class club.minnced.discord.webhook.send.WebhookEmbedBuilder
-
Whether this embed is currently empty.
- isEmpty() - Method in class club.minnced.discord.webhook.send.WebhookMessageBuilder
-
Whether this builder is currently empty
- isFile() - Method in class club.minnced.discord.webhook.send.WebhookMessage
-
Whether this message contains files
- isInline() - Method in class club.minnced.discord.webhook.send.WebhookEmbed.EmbedField
-
Whether this field should share a row with other fields
- isMentionsEveryone() - Method in class club.minnced.discord.webhook.receive.ReadonlyMessage
-
Whether this message mentioned everyone/here
- isShutdown() - Method in class club.minnced.discord.webhook.WebhookClient
-
Whether this client has been shutdown.
- isTTS() - Method in class club.minnced.discord.webhook.receive.ReadonlyMessage
-
Whether this message used Text-to-Speech (TTS)
- isTTS() - Method in class club.minnced.discord.webhook.send.WebhookMessage
-
Whether this message should use Text-to-Speech (TTS)
- isWait() - Method in class club.minnced.discord.webhook.WebhookClient
-
Whether futures will receive
ReadonlyMessage
instances ornull
.
J
- JavacordWebhookClient - Class in club.minnced.discord.webhook.external
- JavacordWebhookClient(long, String, boolean, OkHttpClient, ScheduledExecutorService, AllowedMentions) - Constructor for class club.minnced.discord.webhook.external.JavacordWebhookClient
- JavacordWebhookClient(long, String, boolean, OkHttpClient, ScheduledExecutorService, AllowedMentions, long) - Constructor for class club.minnced.discord.webhook.external.JavacordWebhookClient
- JDAWebhookClient - Class in club.minnced.discord.webhook.external
- JDAWebhookClient(long, String, boolean, OkHttpClient, ScheduledExecutorService, AllowedMentions) - Constructor for class club.minnced.discord.webhook.external.JDAWebhookClient
- JDAWebhookClient(long, String, boolean, OkHttpClient, ScheduledExecutorService, AllowedMentions, long) - Constructor for class club.minnced.discord.webhook.external.JDAWebhookClient
- JSON - Static variable in class club.minnced.discord.webhook.IOUtil
-
application/json
L
- Lazy(IOUtil.SilentSupplier<?>) - Constructor for class club.minnced.discord.webhook.IOUtil.Lazy
- LibraryInfo - Class in club.minnced.discord.webhook
- LibraryInfo() - Constructor for class club.minnced.discord.webhook.LibraryInfo
- LOADING - Static variable in class club.minnced.discord.webhook.MessageFlags
M
- makeAttachment(JSONObject) - Static method in class club.minnced.discord.webhook.receive.EntityFactory
-
Converts a attachment json into a
ReadonlyAttachment
- makeEmbed(JSONObject) - Static method in class club.minnced.discord.webhook.receive.EntityFactory
-
Converts an embed json into a
ReadonlyEmbed
- makeEmbedAuthor(JSONObject) - Static method in class club.minnced.discord.webhook.receive.EntityFactory
-
Converts an author json into a
WebhookEmbed.EmbedAuthor
- makeEmbedField(JSONObject) - Static method in class club.minnced.discord.webhook.receive.EntityFactory
-
Converts a field json into a
WebhookEmbed.EmbedField
- makeEmbedFooter(JSONObject) - Static method in class club.minnced.discord.webhook.receive.EntityFactory
-
Converts a footer json into a
WebhookEmbed.EmbedFooter
- makeEmbedImage(JSONObject) - Static method in class club.minnced.discord.webhook.receive.EntityFactory
-
Converts a image/thumbnail json into a
ReadonlyEmbed.EmbedImage
- makeEmbedProvider(JSONObject) - Static method in class club.minnced.discord.webhook.receive.EntityFactory
-
Converts a provider json into a
ReadonlyEmbed.EmbedProvider
- makeEmbedTitle(JSONObject) - Static method in class club.minnced.discord.webhook.receive.EntityFactory
-
Converts an embed json into a
WebhookEmbed.EmbedTitle
- makeEmbedVideo(JSONObject) - Static method in class club.minnced.discord.webhook.receive.EntityFactory
-
Converts a video json into a
ReadonlyEmbed.EmbedVideo
- makeMessage(JSONObject) - Static method in class club.minnced.discord.webhook.receive.EntityFactory
-
Converts a message json into a
ReadonlyMessage
- makeUser(JSONObject) - Static method in class club.minnced.discord.webhook.receive.EntityFactory
-
Converts a user json into a
ReadonlyUser
- MAX_EMBEDS - Static variable in class club.minnced.discord.webhook.send.WebhookMessage
-
Maximum amount of embeds a single message can hold (10)
- MAX_FIELDS - Static variable in class club.minnced.discord.webhook.send.WebhookEmbed
-
Max amount of fields an embed can hold (25)
- MAX_FILES - Static variable in class club.minnced.discord.webhook.send.WebhookMessage
-
Maximum amount of files a single message can hold (10)
- MessageAttachment - Class in club.minnced.discord.webhook.send
-
Internal representation of attachments for outgoing messages
- MessageFlags - Class in club.minnced.discord.webhook
-
Constants for the message flags described by the Discord Documentation.
- MessageFlags() - Constructor for class club.minnced.discord.webhook.MessageFlags
- multicast(Predicate<WebhookClient>, WebhookMessage) - Method in class club.minnced.discord.webhook.WebhookCluster
-
Sends a message to a filtered set of clients.
N
- newBuilder(long, String) - Method in class club.minnced.discord.webhook.WebhookCluster
-
Creates a
WebhookClientBuilder
instance with the provided components and specified default configurations. - newThread(Runnable) - Method in class club.minnced.discord.webhook.util.ThreadPools.DefaultWebhookThreadFactory
- none() - Static method in class club.minnced.discord.webhook.send.AllowedMentions
-
Disable all mentions.
O
- OCTET - Static variable in class club.minnced.discord.webhook.IOUtil
-
application/octet-stream
- OctetBody(@org.jetbrains.annotations.NotNull byte[]) - Constructor for class club.minnced.discord.webhook.IOUtil.OctetBody
- onThread(long) - Method in class club.minnced.discord.webhook.external.D4JWebhookClient
- onThread(long) - Method in class club.minnced.discord.webhook.external.JavacordWebhookClient
- onThread(long) - Method in class club.minnced.discord.webhook.external.JDAWebhookClient
- onThread(long) - Method in class club.minnced.discord.webhook.WebhookClient
-
Returns a wrapper of this WebhookClient that targets the specified thread.
R
- readAllBytes(InputStream) - Static method in class club.minnced.discord.webhook.IOUtil
-
Reads all bytes from an
InputStream
- ReadonlyAttachment - Class in club.minnced.discord.webhook.receive
-
Readonly message attachment meta-data.
- ReadonlyAttachment(String, String, String, int, int, int, long) - Constructor for class club.minnced.discord.webhook.receive.ReadonlyAttachment
- ReadonlyEmbed - Class in club.minnced.discord.webhook.receive
-
Extension of
WebhookEmbed
with additional meta-data on receivable embeds. - ReadonlyEmbed(OffsetDateTime, Integer, String, ReadonlyEmbed.EmbedImage, ReadonlyEmbed.EmbedImage, WebhookEmbed.EmbedFooter, WebhookEmbed.EmbedTitle, WebhookEmbed.EmbedAuthor, List<WebhookEmbed.EmbedField>, ReadonlyEmbed.EmbedProvider, ReadonlyEmbed.EmbedVideo) - Constructor for class club.minnced.discord.webhook.receive.ReadonlyEmbed
- ReadonlyEmbed.EmbedImage - Class in club.minnced.discord.webhook.receive
-
POJO containing meta-data about an embed image component
- ReadonlyEmbed.EmbedProvider - Class in club.minnced.discord.webhook.receive
-
POJO containing meta-data for an embed provider
- ReadonlyEmbed.EmbedVideo - Class in club.minnced.discord.webhook.receive
-
POJO containing meta-data about an embed video
- ReadonlyMessage - Class in club.minnced.discord.webhook.receive
-
Readonly message representation used for responses of
WebhookClient
send methods. - ReadonlyMessage(long, long, boolean, boolean, int, ReadonlyUser, String, List<ReadonlyEmbed>, List<ReadonlyAttachment>, List<ReadonlyUser>, List<Long>) - Constructor for class club.minnced.discord.webhook.receive.ReadonlyMessage
- ReadonlyUser - Class in club.minnced.discord.webhook.receive
-
Readonly POJO of a discord user
- ReadonlyUser(long, short, boolean, String, String) - Constructor for class club.minnced.discord.webhook.receive.ReadonlyUser
- reduced() - Method in class club.minnced.discord.webhook.receive.ReadonlyEmbed
-
Reduces this embed to a simpler
WebhookEmbed
instance that can be used for sending, this is done implicitly when trying to send an instance of a readonly-embed. - reduced() - Method in class club.minnced.discord.webhook.send.WebhookEmbed
-
Returns this embed instance, as its already reduced.
- removeIf(Predicate<WebhookClient>) - Method in class club.minnced.discord.webhook.WebhookCluster
-
Removes webhooks from the cluster based on the specified filter.
- removeWebhooks(WebhookClient...) - Method in class club.minnced.discord.webhook.WebhookCluster
-
Removes the provided webhooks from the cluster.
- removeWebhooks(Collection<WebhookClient>) - Method in class club.minnced.discord.webhook.WebhookCluster
-
Removes the provided webhooks from the cluster.
- reset() - Method in class club.minnced.discord.webhook.send.WebhookEmbedBuilder
-
Resets the builder to its default state
- reset() - Method in class club.minnced.discord.webhook.send.WebhookMessageBuilder
-
Clears this builder to its default state
- resetEmbeds() - Method in class club.minnced.discord.webhook.send.WebhookMessageBuilder
-
Clears all embeds currently added this builder
- resetFiles() - Method in class club.minnced.discord.webhook.send.WebhookMessageBuilder
-
Clears all files currently added to this builder
S
- send(@org.jetbrains.annotations.NotNull byte[], String) - Method in class club.minnced.discord.webhook.WebhookClient
-
Sends the provided
byte[]
to the webhook. - send(WebhookEmbed, WebhookEmbed...) - Method in class club.minnced.discord.webhook.WebhookClient
-
Sends the provided
WebhookEmbed
to the webhook. - send(WebhookMessage) - Method in class club.minnced.discord.webhook.WebhookClient
-
Sends the provided
WebhookMessage
to the webhook. - send(MessageCreateSpec) - Method in class club.minnced.discord.webhook.external.D4JWebhookClient
-
Sends the provided
MessageCreateSpec
to the webhook. - send(File) - Method in class club.minnced.discord.webhook.WebhookClient
-
Sends the provided
File
to the webhook. - send(File, String) - Method in class club.minnced.discord.webhook.WebhookClient
-
Sends the provided
File
to the webhook. - send(InputStream, String) - Method in class club.minnced.discord.webhook.WebhookClient
-
Sends the provided
InputStream
to the webhook. - send(String) - Method in class club.minnced.discord.webhook.WebhookClient
-
Sends the provided content as normal message to the webhook.
- send(Collection<WebhookEmbed>) - Method in class club.minnced.discord.webhook.WebhookClient
-
Sends the provided
WebhookEmbed
to the webhook. - send(Consumer<? super MessageCreateSpec>) - Method in class club.minnced.discord.webhook.external.D4JWebhookClient
-
Deprecated.Replace wth
D4JWebhookClient.send(MessageCreateSpec)
- send(Message) - Method in class club.minnced.discord.webhook.external.JDAWebhookClient
-
Sends the provided
Message
to the webhook. - send(MessageEmbed) - Method in class club.minnced.discord.webhook.external.JDAWebhookClient
-
Sends the provided
MessageEmbed
to the webhook. - send(Embed) - Method in class club.minnced.discord.webhook.external.JavacordWebhookClient
-
Sends the provided
Embed
to the webhook. - send(Message) - Method in class club.minnced.discord.webhook.external.JavacordWebhookClient
-
Sends the provided
Message
to the webhook. - setAllowedMentions(AllowedMentions) - Method in class club.minnced.discord.webhook.send.WebhookMessageBuilder
-
The mention whitelist.
- setAllowedMentions(AllowedMentions) - Method in class club.minnced.discord.webhook.WebhookClientBuilder
-
The default mention whitelist for every outgoing message.
- setAllowedMentions(AllowedMentions) - Method in class club.minnced.discord.webhook.WebhookCluster
-
The mention whitelist to use by default for every webhook client.
- setAuthor(WebhookEmbed.EmbedAuthor) - Method in class club.minnced.discord.webhook.send.WebhookEmbedBuilder
-
The author for this embed.
- setAvatarUrl(String) - Method in class club.minnced.discord.webhook.send.WebhookMessageBuilder
-
The avatar url to use for this message.
- setColor(Integer) - Method in class club.minnced.discord.webhook.send.WebhookEmbedBuilder
-
The rgb color to use for the line left to the resulting embed
- setContent(String) - Method in class club.minnced.discord.webhook.send.WebhookMessageBuilder
-
Configures the content for this builder
- setDaemon(boolean) - Method in class club.minnced.discord.webhook.WebhookClientBuilder
-
Whether the default executor should use daemon threads.
- setDefaultDaemon(boolean) - Method in class club.minnced.discord.webhook.WebhookCluster
-
Configures whether
WebhookClient
instances should be daemon by default. - setDefaultErrorHandler(WebhookErrorHandler) - Static method in class club.minnced.discord.webhook.WebhookClient
-
Configures which default error handler to use instead of
WebhookErrorHandler.DEFAULT
. - setDefaultExecutorService(ScheduledExecutorService) - Method in class club.minnced.discord.webhook.WebhookCluster
-
Configures the default executor service that will be used to build
WebhookClient
instances. - setDefaultHttpClient(OkHttpClient) - Method in class club.minnced.discord.webhook.WebhookCluster
-
Configures the default http client that will be used to build
WebhookClient
instances. - setDefaultThreadFactory(ThreadFactory) - Method in class club.minnced.discord.webhook.WebhookCluster
-
Configures the default thread factory that will be used to build
WebhookClient
instances. - setDescription(String) - Method in class club.minnced.discord.webhook.send.WebhookEmbedBuilder
-
The description of the embed, this is the default text used in most embeds.
- setEphemeral(boolean) - Method in class club.minnced.discord.webhook.send.WebhookMessageBuilder
-
Whether the message should be ephemeral (only works for interaction webhooks).
- setErrorHandler(WebhookErrorHandler) - Method in class club.minnced.discord.webhook.WebhookClient
-
Configures the error handling behavior used for all asynchronous send/edit/delete calls.
- setExecutorService(ScheduledExecutorService) - Method in class club.minnced.discord.webhook.WebhookClientBuilder
-
The
ScheduledExecutorService
that is used to execute send requests in the resultingWebhookClient
. - setFooter(WebhookEmbed.EmbedFooter) - Method in class club.minnced.discord.webhook.send.WebhookEmbedBuilder
-
The footer for this embed.
- setHttpClient(OkHttpClient) - Method in class club.minnced.discord.webhook.WebhookClientBuilder
-
The
OkHttpClient
that is used to execute send requests in the resultingWebhookClient
. - setImageUrl(String) - Method in class club.minnced.discord.webhook.send.WebhookEmbedBuilder
-
The image url for this embed.
- setThreadFactory(ThreadFactory) - Method in class club.minnced.discord.webhook.WebhookClientBuilder
-
The
ThreadFactory
that is used to initialize the defaultScheduledExecutorService
used ifWebhookClientBuilder.setExecutorService(java.util.concurrent.ScheduledExecutorService)
is not configured. - setThreadId(long) - Method in class club.minnced.discord.webhook.WebhookClientBuilder
-
The ID for the thread you want the messages to be posted to.
- setThreadName(String) - Method in class club.minnced.discord.webhook.send.WebhookMessageBuilder
-
Sets the provided name as the name for a newly created thread.
- setThumbnailUrl(String) - Method in class club.minnced.discord.webhook.send.WebhookEmbedBuilder
-
The thumbnail url for this embed.
- setTimeout(long) - Method in class club.minnced.discord.webhook.WebhookClient
-
Configure a default timeout to use for requests.
- setTimestamp(TemporalAccessor) - Method in class club.minnced.discord.webhook.send.WebhookEmbedBuilder
-
The timestamp for the resulting embed.
- setTitle(WebhookEmbed.EmbedTitle) - Method in class club.minnced.discord.webhook.send.WebhookEmbedBuilder
-
The title for this embed.
- setTTS(boolean) - Method in class club.minnced.discord.webhook.send.WebhookMessageBuilder
-
Whether this message should use Text-to-Speech (TTS)
- setUsername(String) - Method in class club.minnced.discord.webhook.send.WebhookMessageBuilder
-
The username to use for this message.
- setWait(boolean) - Method in class club.minnced.discord.webhook.WebhookClientBuilder
-
Whether resulting messages should be parsed after sending, if this is set to
false
the futures returned byWebhookClient
will receivenull
instead of instances ofReadonlyMessage
. - SOURCE_MESSAGE_DELETED - Static variable in class club.minnced.discord.webhook.MessageFlags
- SUPPRESS_EMBEDS - Static variable in class club.minnced.discord.webhook.MessageFlags
T
- ThreadPools - Class in club.minnced.discord.webhook.util
- ThreadPools() - Constructor for class club.minnced.discord.webhook.util.ThreadPools
- ThreadPools.DefaultWebhookThreadFactory - Class in club.minnced.discord.webhook.util
- toJSON(InputStream) - Static method in class club.minnced.discord.webhook.IOUtil
-
Converts an
InputStream
to aJSONObject
- toJSONString() - Method in class club.minnced.discord.webhook.receive.ReadonlyAttachment
- toJSONString() - Method in class club.minnced.discord.webhook.receive.ReadonlyEmbed.EmbedImage
- toJSONString() - Method in class club.minnced.discord.webhook.receive.ReadonlyEmbed.EmbedProvider
- toJSONString() - Method in class club.minnced.discord.webhook.receive.ReadonlyEmbed.EmbedVideo
- toJSONString() - Method in class club.minnced.discord.webhook.receive.ReadonlyEmbed
- toJSONString() - Method in class club.minnced.discord.webhook.receive.ReadonlyMessage
- toJSONString() - Method in class club.minnced.discord.webhook.receive.ReadonlyUser
- toJSONString() - Method in class club.minnced.discord.webhook.send.AllowedMentions
- toJSONString() - Method in class club.minnced.discord.webhook.send.WebhookEmbed.EmbedAuthor
- toJSONString() - Method in class club.minnced.discord.webhook.send.WebhookEmbed.EmbedField
- toJSONString() - Method in class club.minnced.discord.webhook.send.WebhookEmbed.EmbedFooter
- toJSONString() - Method in class club.minnced.discord.webhook.send.WebhookEmbed
- toString() - Method in class club.minnced.discord.webhook.IOUtil.Lazy
- toString() - Method in class club.minnced.discord.webhook.receive.ReadonlyAttachment
-
JSON representation of this attachment
- toString() - Method in class club.minnced.discord.webhook.receive.ReadonlyEmbed.EmbedImage
-
JSON representation of this provider
- toString() - Method in class club.minnced.discord.webhook.receive.ReadonlyEmbed.EmbedProvider
-
JSON representation of this provider
- toString() - Method in class club.minnced.discord.webhook.receive.ReadonlyEmbed.EmbedVideo
-
JSON representation of this video
- toString() - Method in class club.minnced.discord.webhook.receive.ReadonlyEmbed
-
JSON representation of this embed.
- toString() - Method in class club.minnced.discord.webhook.receive.ReadonlyMessage
-
JSON representation of this provider
- toString() - Method in class club.minnced.discord.webhook.receive.ReadonlyUser
-
JSON representation of this user
- toString() - Method in class club.minnced.discord.webhook.send.WebhookEmbed.EmbedAuthor
-
JSON representation of this author
- toString() - Method in class club.minnced.discord.webhook.send.WebhookEmbed.EmbedField
-
JSON representation of this field
- toString() - Method in class club.minnced.discord.webhook.send.WebhookEmbed.EmbedFooter
-
JSON representation of this footer
- toString() - Method in class club.minnced.discord.webhook.send.WebhookEmbed.EmbedTitle
-
JSON representation of this title
- toString() - Method in class club.minnced.discord.webhook.send.WebhookEmbed
-
JSON representation of this embed
- toWebhookMessage() - Method in class club.minnced.discord.webhook.receive.ReadonlyMessage
-
Converts this message to a reduced webhook message.
U
- URGENT - Static variable in class club.minnced.discord.webhook.MessageFlags
- USER_AGENT - Static variable in class club.minnced.discord.webhook.WebhookClient
-
User-Agent used for REST requests
V
- VERSION - Static variable in class club.minnced.discord.webhook.LibraryInfo
- VERSION_MAJOR - Static variable in class club.minnced.discord.webhook.LibraryInfo
- VERSION_MINOR - Static variable in class club.minnced.discord.webhook.LibraryInfo
- VERSION_PATCH - Static variable in class club.minnced.discord.webhook.LibraryInfo
W
- WEBHOOK_PATTERN - Static variable in class club.minnced.discord.webhook.WebhookClientBuilder
-
Pattern used to validate webhook urls
(?:https?://)?(?:\w+\.)?discord(?:app)?\.com/api(?:/v\d+)?/webhooks/(\d+)/([\w-]+)(?:/(?:\w+)?)?
- WEBHOOK_URL - Static variable in class club.minnced.discord.webhook.WebhookClient
-
Format for webhook execution endpoint
- WebhookClient - Class in club.minnced.discord.webhook
-
Client used to execute webhooks.
- WebhookClientBuilder - Class in club.minnced.discord.webhook
-
Builder for a
WebhookClient
instance. - WebhookClientBuilder(long, String) - Constructor for class club.minnced.discord.webhook.WebhookClientBuilder
-
Creates a new WebhookClientBuilder for the specified webhook components
- WebhookClientBuilder(String) - Constructor for class club.minnced.discord.webhook.WebhookClientBuilder
-
Creates a new WebhookClientBuilder for the specified webhook url
The url is verified usingWebhookClientBuilder.WEBHOOK_PATTERN
. - WebhookCluster - Class in club.minnced.discord.webhook
-
Collection of webhooks, useful for subscriber pattern.
- WebhookCluster() - Constructor for class club.minnced.discord.webhook.WebhookCluster
-
Default initializes a new WebhookCluster.
- WebhookCluster(int) - Constructor for class club.minnced.discord.webhook.WebhookCluster
-
Creates a webhook cluster with the specified capacity.
- WebhookCluster(Collection<? extends WebhookClient>) - Constructor for class club.minnced.discord.webhook.WebhookCluster
-
Creates a new WebhookCluster with the provided clients
- WebhookEmbed - Class in club.minnced.discord.webhook.send
-
Reduced version of an
ReadonlyEmbed
used for sending. - WebhookEmbed(OffsetDateTime, Integer, String, String, String, WebhookEmbed.EmbedFooter, WebhookEmbed.EmbedTitle, WebhookEmbed.EmbedAuthor, List<WebhookEmbed.EmbedField>) - Constructor for class club.minnced.discord.webhook.send.WebhookEmbed
- WebhookEmbed.EmbedAuthor - Class in club.minnced.discord.webhook.send
-
POJO for an embed author.
- WebhookEmbed.EmbedField - Class in club.minnced.discord.webhook.send
-
POJO for an embed field.
- WebhookEmbed.EmbedFooter - Class in club.minnced.discord.webhook.send
-
POJO for an embed footer.
- WebhookEmbed.EmbedTitle - Class in club.minnced.discord.webhook.send
-
POJO for an embed title.
- WebhookEmbedBuilder - Class in club.minnced.discord.webhook.send
-
Builder for a
WebhookEmbed
instance. - WebhookEmbedBuilder() - Constructor for class club.minnced.discord.webhook.send.WebhookEmbedBuilder
-
Creates an empty builder
- WebhookEmbedBuilder(WebhookEmbed) - Constructor for class club.minnced.discord.webhook.send.WebhookEmbedBuilder
-
Creates a builder with predefined settings from the provided
WebhookEmbed
instance - WebhookErrorHandler - Interface in club.minnced.discord.webhook.util
-
Used to dynamically handle errors for webhook requests in
WebhookClient
If not explicitly configured, this usesWebhookErrorHandler.DEFAULT
. - WebhookMessage - Class in club.minnced.discord.webhook.send
-
Send-only message for a
WebhookClient
AReadonlyMessage
can be sent by first converting it to a WebhookMessage withWebhookMessage.from(club.minnced.discord.webhook.receive.ReadonlyMessage)
. - WebhookMessageBuilder - Class in club.minnced.discord.webhook.send
-
Constructs a
WebhookMessage
- WebhookMessageBuilder() - Constructor for class club.minnced.discord.webhook.send.WebhookMessageBuilder
- withId(long, String) - Static method in class club.minnced.discord.webhook.external.D4JWebhookClient
-
Factory method to create a basic D4JWebhookClient with the provided id and token.
- withId(long, String) - Static method in class club.minnced.discord.webhook.external.JavacordWebhookClient
-
Factory method to create a basic JavacordWebhookClient with the provided id and token.
- withId(long, String) - Static method in class club.minnced.discord.webhook.external.JDAWebhookClient
-
Factory method to create a basic JDAWebhookClient with the provided id and token.
- withId(long, String) - Static method in class club.minnced.discord.webhook.WebhookClient
-
Factory method to create a basic WebhookClient with the provided id and token.
- withParseEveryone(boolean) - Method in class club.minnced.discord.webhook.send.AllowedMentions
-
Whether to parse
@everyone
or@here
mentions. - withParseRoles(boolean) - Method in class club.minnced.discord.webhook.send.AllowedMentions
-
Whether to parse role mentions.
- withParseUsers(boolean) - Method in class club.minnced.discord.webhook.send.AllowedMentions
-
Whether to parse user mentions.
- withRoles(String...) - Method in class club.minnced.discord.webhook.send.AllowedMentions
-
Whitelist specified roles for mention.
- withRoles(Collection<String>) - Method in class club.minnced.discord.webhook.send.AllowedMentions
-
Whitelist specified roles for mention.
- withUrl(String) - Static method in class club.minnced.discord.webhook.external.D4JWebhookClient
-
Factory method to create a basic D4JWebhookClient with the provided id and token.
- withUrl(String) - Static method in class club.minnced.discord.webhook.external.JavacordWebhookClient
-
Factory method to create a basic JavacordWebhookClient with the provided id and token.
- withUrl(String) - Static method in class club.minnced.discord.webhook.external.JDAWebhookClient
-
Factory method to create a basic JDAWebhookClient with the provided id and token.
- withUrl(String) - Static method in class club.minnced.discord.webhook.WebhookClient
-
Factory method to create a basic WebhookClient with the provided id and token.
- withUsers(String...) - Method in class club.minnced.discord.webhook.send.AllowedMentions
-
Whitelist specified users for mention.
- withUsers(Collection<String>) - Method in class club.minnced.discord.webhook.send.AllowedMentions
-
Whitelist specified users for mention.
- writeTo(BufferedSink) - Method in class club.minnced.discord.webhook.IOUtil.OctetBody
All Classes All Packages