All Classes
-
All Classes Interface Summary Class Summary Enum Summary Exception Summary Class Description AllowedMentions A class for holding the allowed_mentions object with an built-in factory for default values.AllowedMentions.Builder A builder for creatingAllowedMentionsobjects.AllowedMentions.Type An allowed mentions type, grouped into role mentions, user mentions and everyone mentions (includes @everyone and @here).ApplicationCommandDefinition Represents an application command that can be tested against incoming interactions and to build a response sequence.ApplicationService AuditLogService BucketGlobalRateLimiter An implementation ofGlobalRateLimiterthat uses aRateLimitOperatorcoordinate requests, injecting an additional delay if a source trips the limiter early throughBucketGlobalRateLimiter.rateLimitFor(Duration).BucketKey Used to access the appropriateRequestStreamaccording to the bucket that requests for the stream fall into.ChannelService ClientException Exception that contains information about a failed request containing HTTP response data.ClientRequest An adapted request definition from an originalDiscordWebRequest.ClientResponse An HTTP response encapsulating status, headers and accessors to the response body for consumption.Color CompositeTransformer AResponseFunctionthat can join multipleResponseFunctioninstances.DefaultRouter Facilitates the routing ofDiscordWebRequestinstances to the properRequestStreamaccording to the bucket in which the request falls.DirectInteraction AnRestInteractionoriginated from a DM channel, available for global commands and users that share a guild with a bot associated with this application.DiscardedRequestException Thrown when a REST request is discarded because of a queue overflow.DiscordWebClient Reactor Netty based HTTP client dedicated to Discord REST API requests.DiscordWebRequest Template encoding all of the needed information to make an HTTP request to Discord.DiscordWebResponse Contract to handle aMonoofClientResponseafter a network exchange is done.EmojiService EmptyReaderStrategy Read a response without a body.EmptyResponseTransformer AResponseFunctionthat is able to transform an error sequence with a HTTP 404 status, into an empty sequence.EmptyWriterStrategy Write a request without a body.ErrorResponse ExchangeStrategies Defines the strategies to request and response body conversion.ExchangeStrategies.Builder A mutable builder for creating anExchangeStrategiesFallbackReaderStrategy Read a response as aStringas a catch-all, unless the given response type isErrorResponse, in which case it will attempt to store the response into theErrorResponsebodyfield.FollowupInteractionHandler An interaction handler that can have an additional asynchronous sequence for followup actions usingFollowupInteractionHandler.withFollowup(Function).GatewayService GlobalRateLimiter Used to prevent requests from being sent while the bot is globally rate limited.GuildInteraction AnRestInteractionoriginated from a guild, giving access to specific guild ID and interaction member data.GuildService Image Represents a Discord image.Image.Format The format of an image.InteractionHandler An interaction handler is responsible for providing an initial response and followup for incoming interactions.InteractionHandlerSpec An immutable builder for creating anRestInteractionhandler function, capable of handling guild and direct message interactions.InteractionMember A member that initiated a specific interaction.InteractionResponse A handler for common operations related to an interaction followup response.InteractionResponseType Interactions An entry point to build and process Discord interactions.Interactions.ReactorNettyServerHandler An alias for a Reactor Netty server route.InteractionService InteractionValidator Implement to validate interactionsInviteService JacksonReaderStrategy<T> Read a response into JSON and convert to an Object of type<Res>using Jackson.JacksonWriterStrategy Write to a request from anObjectto a JSONStringusing Jackson.Multimap<K,V> A simple multi-valued map that wraps aLinkedHashMapwithLinkedListto store multiple values.MultipartRequest<T> MultipartWriterStrategy Write to a request from aConsumer<HttpClientRequest.Form>using reactor-netty'sHttpClient.RequestSender.sendForm(java.util.function.BiConsumer).OrderUtil A utility class for the sorting ofRestRole.PaginationUtil Permission Permissions are a way to limit and grant certain abilities to users.PermissionSet An immutable, specializedSet<Permission>.RateLimitRetryOperator The retry function used for reading and completing HTTP requests.RateLimitStrategy A mapper between aHttpClientResponseand aDurationrepresenting a delay due to rate limiting.ReaderStrategy<T> Strategy for reading from aHttpClientResponseand decoding the stream of bytes to an Object of type<Res>.RequestQueue<T> Abstraction for a REST request queue.RequestQueueFactory Factory to createRequestQueueinstances.ResponseFunction A transformation function used while processingDiscordWebRequestobjects.ResponseHeaderStrategy RestChannel Represents a guild or DM channel within Discord.RestClient An aggregation of all Discord REST API resources available.RestClientBuilder<C,O extends RouterOptions> Builder suited for creating aRestClient.RestClientBuilder.Config RestEmoji Represents a guild emoji entity in Discord.RestGuild Represents a guild entity in Discord.RestGuildTemplate Represents a guild template entity in Discord.RestInteraction A single interaction coming from Discord.RestInvite Represents a code that can be used to add a user to a guild.RestMember Represents a user (bot or normal) that is member of a specific guild.RestMessage Represents a message within Discord.RestResources A set of resources required for key Discord4J features like entity manipulation and API communication.RestRole Roles represent a set of permissions, unique per guild, attached to a group of users.RestService RestUser Represents a user (bot or normal) entity in Discord.RestWebhook Represents a webhook entity in Discord.ResumingTransformer AResponseFunctionthat is able to transform an error sequence into a custom response.RetryingTransformer AResponseFunctionthat is able to transform an error sequence into a retrying one.Route Provides a mapping between a Discord API endpoint and its response type.RouteMatcher A predicate that can match a givenDiscordWebRequest.Router Represents a connector executingDiscordWebRequestobjects against the Discord REST API.RouterOptions Options used to control the behavior of aRouter.Routes A collection ofRouteobject definitions.RouteUtils TemplateService TweetNaclFast TweetNaclFast.Box TweetNaclFast.Box.KeyPair TweetNaclFast.Hash TweetNaclFast.poly1305 TweetNaclFast.ScalarMult TweetNaclFast.SecretBox TweetNaclFast.Signature TweetNaclFast.Signature.KeyPair TweetNaclFastInteractionValidator UserService VoiceService WebhookService WriterStrategy<R> Strategy for encoding an object of type<Req>and writing the encoded stream of bytes to anHttpClientRequest.