- GATEWAY_BOT_GET - Static variable in class discord4j.rest.route.Routes
-
Returns an object with the same information as Get Gateway, plus a shards key, containing the recommended number
of shards to connect with (as an integer).
- GATEWAY_GET - Static variable in class discord4j.rest.route.Routes
-
Returns an object with a single valid WSS URL, which the client can use as a basis for Connecting.
- GatewayService - Class in discord4j.rest.service
-
- GatewayService(Router) - Constructor for class discord4j.rest.service.GatewayService
-
- get(String) - Static method in class discord4j.rest.route.Route
-
- get(Object) - Method in class discord4j.rest.util.Multimap
-
- getApplicationInfo() - Method in class discord4j.rest.RestClient
-
Requests to retrieve the application info.
- getApplicationService() - Method in class discord4j.rest.RestClient
-
Access a low-level representation of the API endpoints for the Application resource.
- getAuditLog(long, Map<String, Object>) - Method in class discord4j.rest.service.AuditLogService
-
- getAuditLogService() - Method in class discord4j.rest.RestClient
-
Access a low-level representation of the API endpoints for the Audit Log resource.
- getBan(Snowflake) - Method in class discord4j.rest.entity.RestGuild
-
- getBans() - Method in class discord4j.rest.entity.RestGuild
-
- getBlue() - Method in class discord4j.rest.util.Color
-
Returns the blue value for this color, as an integer in the range 0-255.
- getBody() - Method in class discord4j.rest.http.client.ClientRequest
-
Return the body to encode while processing this request.
- getBody() - Method in class discord4j.rest.http.client.ClientResponse
-
- getBody() - Method in class discord4j.rest.request.DiscordWebRequest
-
Return the body of this request, if present.
- getChannel(long) - Method in class discord4j.rest.service.ChannelService
-
- getChannelById(Snowflake) - Method in class discord4j.rest.RestClient
-
Requests to retrieve the channel represented by the supplied ID.
- getChannelInvites(long) - Method in class discord4j.rest.service.ChannelService
-
- getChannels() - Method in class discord4j.rest.entity.RestGuild
-
Return a
Flux of guild channels.
- getChannelService() - Method in class discord4j.rest.RestClient
-
Access a low-level representation of the API endpoints for the Channel resource.
- getChannelWebhooks(long) - Method in class discord4j.rest.service.WebhookService
-
- getCompleteUri() - Method in class discord4j.rest.request.DiscordWebRequest
-
Return the compiled URI of this request.
- getCreateRequest() - Method in class discord4j.rest.util.MultipartRequest
-
- getCurrentApplicationInfo() - Method in class discord4j.rest.service.ApplicationService
-
- getCurrentUser() - Method in class discord4j.rest.service.UserService
-
- getCurrentUserGuilds(Map<String, Object>) - Method in class discord4j.rest.service.UserService
-
- getData() - Method in class discord4j.rest.entity.RestChannel
-
Retrieve this channel's data upon subscription.
- getData() - Method in class discord4j.rest.entity.RestEmoji
-
Retrieve this guild emoji's data upon subscription.
- getData() - Method in class discord4j.rest.entity.RestGuild
-
Retrieve this guild's data upon subscription.
- getData() - Method in class discord4j.rest.entity.RestInvite
-
- getData() - Method in class discord4j.rest.entity.RestMember
-
- getData() - Method in class discord4j.rest.entity.RestMessage
-
Retrieve this messages' data upon subscription.
- getData() - Method in class discord4j.rest.entity.RestRole
-
Retrieve this role's data upon subscription.
- getData() - Method in class discord4j.rest.entity.RestUser
-
Retrieve this user's data upon subscription.
- getData() - Method in class discord4j.rest.entity.RestWebhook
-
Retrieve this webhook's data upon subscription.
- getData() - Method in class discord4j.rest.util.Image
-
Gets the raw data of the image.
- getDataUri() - Method in class discord4j.rest.util.Image
-
Gets a data URI for this image.
- getDefaultHeaders() - Method in class discord4j.rest.http.client.DiscordWebClient
-
Return the default headers used in every request.
- getDescription() - Method in class discord4j.rest.http.client.ClientRequest
-
- getDescription() - Method in class discord4j.rest.request.DiscordWebRequest
-
- getDiscordRequest() - Method in class discord4j.rest.http.client.ClientRequest
-
Return the original request template.
- getEmbed() - Method in class discord4j.rest.entity.RestGuild
-
- getEmojis() - Method in class discord4j.rest.entity.RestGuild
-
- getEmojiService() - Method in class discord4j.rest.RestClient
-
Access a low-level representation of the API endpoints for the Guild Emoji resource.
- getErrorResponse() - Method in exception discord4j.rest.http.client.ClientException
-
Return the HTTP response body in the form of a Discord
ErrorResponse, if present.
- getExchangeStrategies() - Method in class discord4j.rest.http.client.DiscordWebClient
-
Return the strategy used for request and response conversion.
- getExchangeStrategies() - Method in class discord4j.rest.request.RouterOptions
-
- getExchangeStrategies() - Method in class discord4j.rest.RestClientBuilder.Config
-
- getExtension() - Method in enum discord4j.rest.util.Image.Format
-
Gets the file extension associated with this format.
- getFields() - Method in class discord4j.rest.json.response.ErrorResponse
-
- getFiles() - Method in class discord4j.rest.util.MultipartRequest
-
- getFormat() - Method in class discord4j.rest.util.Image
-
Gets the format of the image.
- getGateway() - Method in class discord4j.rest.service.GatewayService
-
- getGatewayBot() - Method in class discord4j.rest.service.GatewayService
-
- getGatewayService() - Method in class discord4j.rest.RestClient
-
Access a low-level representation of the API endpoints for the Gateway resource.
- getGlobalRateLimiter() - Method in class discord4j.rest.request.RouterOptions
-
- getGlobalRateLimiter() - Method in class discord4j.rest.RestClientBuilder.Config
-
- getGreen() - Method in class discord4j.rest.util.Color
-
Returns the green value for this color, as an integer in the range 0-255.
- getGuild(long) - Method in class discord4j.rest.service.GuildService
-
- getGuildBan(long, long) - Method in class discord4j.rest.service.GuildService
-
- getGuildBans(long) - Method in class discord4j.rest.service.GuildService
-
- getGuildById(Snowflake) - Method in class discord4j.rest.RestClient
-
Requests to retrieve the guild represented by the supplied ID.
- getGuildChannels(long) - Method in class discord4j.rest.service.GuildService
-
- getGuildEmbed(long) - Method in class discord4j.rest.service.GuildService
-
- getGuildEmoji(long, long) - Method in class discord4j.rest.service.EmojiService
-
- getGuildEmojiById(Snowflake, Snowflake) - Method in class discord4j.rest.RestClient
-
Requests to retrieve the guild emoji represented by the supplied IDs.
- getGuildEmojis(long) - Method in class discord4j.rest.service.EmojiService
-
- getGuildIntegrations(long) - Method in class discord4j.rest.service.GuildService
-
- getGuildInvites(long) - Method in class discord4j.rest.service.GuildService
-
- getGuildMember(long, long) - Method in class discord4j.rest.service.GuildService
-
- getGuildMembers(long, Map<String, Object>) - Method in class discord4j.rest.service.GuildService
-
- getGuildPruneCount(long, Map<String, Object>) - Method in class discord4j.rest.service.GuildService
-
Deprecated.
- getGuildPruneCount(long, Multimap<String, Object>) - Method in class discord4j.rest.service.GuildService
-
- getGuildRoles(long) - Method in class discord4j.rest.service.GuildService
-
- getGuilds() - Method in class discord4j.rest.RestClient
-
Requests to retrieve the guilds the current client is in.
- getGuildService() - Method in class discord4j.rest.RestClient
-
Access a low-level representation of the API endpoints for the Guild resource.
- getGuildVoiceRegions(long) - Method in class discord4j.rest.service.GuildService
-
- getGuildWebhooks(long) - Method in class discord4j.rest.service.WebhookService
-
- getGuildWidget(long) - Method in class discord4j.rest.service.GuildService
-
- getHash() - Method in class discord4j.rest.util.Image
-
Gets the Base64-encoded data of the image.
- getHeaders() - Method in exception discord4j.rest.http.client.ClientException
-
- getHeaders() - Method in class discord4j.rest.http.client.ClientRequest
-
Return the headers of this request.
- getHeaders() - Method in class discord4j.rest.request.DiscordWebRequest
-
Return the request headers, if present.
- getHttpClient() - Method in class discord4j.rest.http.client.DiscordWebClient
-
Return the underlying Reactor Netty HTTP client.
- getHttpResponse() - Method in class discord4j.rest.http.client.ClientResponse
-
Return the underlying
HttpClientResponse from where you can access the response headers, status and
context.
- getId() - Method in class discord4j.rest.http.client.ClientRequest
-
Return this request's ID for correlation.
- getIntegrations() - Method in class discord4j.rest.entity.RestGuild
-
- getInvite(String) - Method in class discord4j.rest.RestClient
-
Requests to retrieve an invite.
- getInvite(String) - Method in class discord4j.rest.service.InviteService
-
- getInvites() - Method in class discord4j.rest.entity.RestChannel
-
Request to retrieve this channel's invites.
- getInvites() - Method in class discord4j.rest.entity.RestGuild
-
- getInviteService() - Method in class discord4j.rest.RestClient
-
Access a low-level representation of the API endpoints for the Invite resource.
- getJacksonResources() - Method in class discord4j.rest.RestClientBuilder.Config
-
- getJacksonResources() - Method in class discord4j.rest.RestResources
-
Return Jackson resources to transform objects.
- getMajorParam(String, String) - Static method in class discord4j.rest.util.RouteUtils
-
- getMember(Snowflake) - Method in class discord4j.rest.entity.RestGuild
-
- getMemberById(Snowflake, Snowflake) - Method in class discord4j.rest.RestClient
-
Requests to retrieve the member represented by the supplied IDs.
- getMembers() - Method in class discord4j.rest.entity.RestGuild
-
- getMessage(long, long) - Method in class discord4j.rest.service.ChannelService
-
- getMessageById(Snowflake, Snowflake) - Method in class discord4j.rest.RestClient
-
Requests to retrieve the message represented by the supplied IDs.
- getMessages(long, Map<String, Object>) - Method in class discord4j.rest.service.ChannelService
-
- getMessagesAfter(Snowflake) - Method in class discord4j.rest.entity.RestChannel
-
Request to retrieve all messages after the specified ID.
- getMessagesBefore(Snowflake) - Method in class discord4j.rest.entity.RestChannel
-
Request to retrieve all messages before the specified ID.
- getMethod() - Method in class discord4j.rest.http.client.ClientRequest
-
Return the HTTP method.
- getMethod() - Method in class discord4j.rest.route.Route
-
Return the HTTP method for this route.
- getPinnedMessages() - Method in class discord4j.rest.entity.RestChannel
-
Request to retrieve all the pinned messages for this channel.
- getPinnedMessages(long) - Method in class discord4j.rest.service.ChannelService
-
- getPrivateChannel() - Method in class discord4j.rest.entity.RestUser
-
Requests to retrieve the private channel (DM) to this user.
- getPruneCount(Integer) - Method in class discord4j.rest.entity.RestGuild
-
- getQueryParams() - Method in class discord4j.rest.request.DiscordWebRequest
-
Return the query parameters saved in this request, if present.
- getRawValue() - Method in class discord4j.rest.util.PermissionSet
-
Gets the raw value for this PermissionSet.
- getReactions(long, long, String, Map<String, Object>) - Method in class discord4j.rest.service.ChannelService
-
- getReactorResources() - Method in class discord4j.rest.request.RouterOptions
-
- getReactorResources() - Method in class discord4j.rest.RestClientBuilder.Config
-
- getReactorResources() - Method in class discord4j.rest.RestResources
-
Return Reactor resources to establish connections and schedule tasks.
- getRed() - Method in class discord4j.rest.util.Color
-
Returns the red value for this color, as an integer in the range 0-255.
- getRegions() - Method in class discord4j.rest.entity.RestGuild
-
- getRegions() - Method in class discord4j.rest.RestClient
-
Requests to retrieve the voice regions that are available.
- getRemaining() - Method in class discord4j.rest.request.BucketGlobalRateLimiter
-
- getRemaining() - Method in interface discord4j.rest.request.GlobalRateLimiter
-
Returns the
Duration remaining until the current global rate limit is completed.
- getRequest() - Method in exception discord4j.rest.http.client.ClientException
-
- getRequestQueueFactory() - Method in class discord4j.rest.request.RouterOptions
-
- getResponseTransformers() - Method in class discord4j.rest.request.RouterOptions
-
Returns the list of
ResponseFunction transformations that can be applied to every response.
- getResponseTransformers() - Method in class discord4j.rest.RestClientBuilder.Config
-
- getRestMessage(Snowflake) - Method in class discord4j.rest.entity.RestChannel
-
Create a
RestMessage entity for a given ID under this channel.
- getRGB() - Method in class discord4j.rest.util.Color
-
Returns the RGB value for this color.
- getRoleById(Snowflake, Snowflake) - Method in class discord4j.rest.RestClient
-
Requests to retrieve the role represented by the supplied IDs.
- getRoles() - Method in class discord4j.rest.entity.RestGuild
-
- getRoute() - Method in class discord4j.rest.http.client.ClientRequest
-
Return the API endpoint targeted by this request.
- getRoute() - Method in class discord4j.rest.request.DiscordWebRequest
-
Return the API endpoint targeted by this request.
- getRouter() - Method in class discord4j.rest.RestClientBuilder.Config
-
- getRouter() - Method in class discord4j.rest.RestResources
-
Return the
Router tied to this resources object.
- getRouter() - Method in class discord4j.rest.service.RestService
-
- getSelf() - Method in class discord4j.rest.RestClient
-
Requests to retrieve the bot user.
- getSelfId() - Method in class discord4j.rest.RestResources
-
Gets the bot user's ID.
- getSelfMember() - Method in class discord4j.rest.entity.RestGuild
-
- getStatus() - Method in exception discord4j.rest.http.client.ClientException
-
- getToken() - Method in class discord4j.rest.request.RouterOptions
-
Returns the currently configured token.
- getToken() - Method in class discord4j.rest.RestClientBuilder.Config
-
- getToken() - Method in class discord4j.rest.RestResources
-
Return the bot token used to authenticate requests.
- getUriTemplate() - Method in class discord4j.rest.route.Route
-
Return the URI template that defines this route.
- getUrl() - Method in class discord4j.rest.http.client.ClientRequest
-
Return the request URL.
- getUser(long) - Method in class discord4j.rest.service.UserService
-
- getUserById(Snowflake) - Method in class discord4j.rest.RestClient
-
Requests to retrieve the user represented by the supplied ID.
- getUserConnections() - Method in class discord4j.rest.service.UserService
-
- getUserDMs() - Method in class discord4j.rest.service.UserService
-
- getUserService() - Method in class discord4j.rest.RestClient
-
Access a low-level representation of the API endpoints for the User resource.
- getValue() - Method in enum discord4j.rest.util.Permission
-
Gets the permission's value.
- getVoiceRegions() - Method in class discord4j.rest.service.VoiceService
-
- getVoiceService() - Method in class discord4j.rest.RestClient
-
Access a low-level representation of the API endpoints for the Voice Region resource.
- getWebhook(long) - Method in class discord4j.rest.service.WebhookService
-
- getWebhookById(Snowflake) - Method in class discord4j.rest.RestClient
-
Requests to retrieve the webhook represented by the supplied ID.
- getWebhooks() - Method in class discord4j.rest.entity.RestChannel
-
- getWebhooks() - Method in class discord4j.rest.entity.RestGuild
-
- getWebhookService() - Method in class discord4j.rest.RestClient
-
Access a low-level representation of the API endpoints for the Webhook resource.
- getWidget() - Method in class discord4j.rest.entity.RestGuild
-
- GlobalRateLimiter - Interface in discord4j.rest.request
-
- globalRateLimiter - Variable in class discord4j.rest.RestClientBuilder
-
- GRAY - Static variable in class discord4j.rest.util.Color
-
The color gray ■.
- GRAY_CHATEAU - Static variable in class discord4j.rest.util.Color
-
The color gray chateau ■.
- GREEN - Static variable in class discord4j.rest.util.Color
-
The color green ■.
- GROUP_DM_CREATE - Static variable in class discord4j.rest.route.Routes
-
Create a new group DM channel with multiple users.
- GROUP_DM_RECIPIENT_ADD - Static variable in class discord4j.rest.route.Routes
-
Adds a recipient to a Group DM using their access token.
- GROUP_DM_RECIPIENT_DELETE - Static variable in class discord4j.rest.route.Routes
-
Removes a recipient from a Group DM.
- guild() - Method in class discord4j.rest.entity.RestEmoji
-
- guild() - Method in class discord4j.rest.entity.RestMember
-
- guild() - Method in class discord4j.rest.entity.RestRole
-
Return the guild tied to this role as a REST operations handle.
- GUILD_BAN_CREATE - Static variable in class discord4j.rest.route.Routes
-
Create a guild ban, and optionally delete previous messages sent by the banned user.
- GUILD_BAN_GET - Static variable in class discord4j.rest.route.Routes
-
Returns a ban object for the given user or a 404 not found if the ban cannot be found.
- GUILD_BAN_REMOVE - Static variable in class discord4j.rest.route.Routes
-
Remove the ban for a user.
- GUILD_BANS_GET - Static variable in class discord4j.rest.route.Routes
-
Returns a list of ban objects for the users banned from this guild.
- GUILD_CHANNEL_CREATE - Static variable in class discord4j.rest.route.Routes
-
Create a new channel object for the guild.
- GUILD_CHANNEL_POSITIONS_MODIFY - Static variable in class discord4j.rest.route.Routes
-
Modify the positions of a set of role objects for the guild.
- GUILD_CHANNELS_GET - Static variable in class discord4j.rest.route.Routes
-
Returns a list of guild channel objects.
- GUILD_CREATE - Static variable in class discord4j.rest.route.Routes
-
Create a new guild.
- GUILD_DELETE - Static variable in class discord4j.rest.route.Routes
-
Delete a guild permanently.
- GUILD_EMBED_GET - Static variable in class discord4j.rest.route.Routes
-
- GUILD_EMBED_MODIFY - Static variable in class discord4j.rest.route.Routes
-
- GUILD_EMOJI_CREATE - Static variable in class discord4j.rest.route.Routes
-
Create a new emoji for the guild.
- GUILD_EMOJI_DELETE - Static variable in class discord4j.rest.route.Routes
-
Delete the given emoji.
- GUILD_EMOJI_GET - Static variable in class discord4j.rest.route.Routes
-
Returns an emoji object for the given guild and emoji IDs.
- GUILD_EMOJI_MODIFY - Static variable in class discord4j.rest.route.Routes
-
Modify the given emoji.
- GUILD_EMOJIS_GET - Static variable in class discord4j.rest.route.Routes
-
Returns a list of emoji objects for the given guild.
- GUILD_GET - Static variable in class discord4j.rest.route.Routes
-
Returns the guild object for the given id.
- GUILD_INTEGRATION_CREATE - Static variable in class discord4j.rest.route.Routes
-
Attach an integration object from the current user to the guild.
- GUILD_INTEGRATION_DELETE - Static variable in class discord4j.rest.route.Routes
-
Delete the attached integration object for the guild.
- GUILD_INTEGRATION_MODIFY - Static variable in class discord4j.rest.route.Routes
-
Modify the behavior and settings of a integration object for the guild.
- GUILD_INTEGRATION_SYNC - Static variable in class discord4j.rest.route.Routes
-
Sync an integration.
- GUILD_INTEGRATIONS_GET - Static variable in class discord4j.rest.route.Routes
-
Returns a list of integration objects for the guild.
- GUILD_INVITES_GET - Static variable in class discord4j.rest.route.Routes
-
Returns a list of invite objects (with invite metadata) for the guild.
- GUILD_LEAVE - Static variable in class discord4j.rest.route.Routes
-
Leave a guild.
- GUILD_MEMBER_ADD - Static variable in class discord4j.rest.route.Routes
-
Adds a user to the guild, provided you have a valid oauth2 access token for the user with the guilds.join scope.
- GUILD_MEMBER_GET - Static variable in class discord4j.rest.route.Routes
-
Returns a guild member object for the specified user.
- GUILD_MEMBER_MODIFY - Static variable in class discord4j.rest.route.Routes
-
Modify attributes of a guild member.
- GUILD_MEMBER_REMOVE - Static variable in class discord4j.rest.route.Routes
-
Remove a member from a guild.
- GUILD_MEMBER_ROLE_ADD - Static variable in class discord4j.rest.route.Routes
-
Adds a role to a guild member.
- GUILD_MEMBER_ROLE_REMOVE - Static variable in class discord4j.rest.route.Routes
-
Removes a role from a guild member.
- GUILD_MEMBERS_LIST - Static variable in class discord4j.rest.route.Routes
-
Returns a list of guild member objects that are members of the guild.
- GUILD_MODIFY - Static variable in class discord4j.rest.route.Routes
-
Modify a guild's settings.
- GUILD_PRUNE_BEGIN - Static variable in class discord4j.rest.route.Routes
-
Begin a prune operation.
- GUILD_PRUNE_COUNT_GET - Static variable in class discord4j.rest.route.Routes
-
Returns an object with one 'pruned' key indicating the number of members that would be removed in a prune
operation.
- GUILD_ROLE_CREATE - Static variable in class discord4j.rest.route.Routes
-
Create a new role for the guild.
- GUILD_ROLE_DELETE - Static variable in class discord4j.rest.route.Routes
-
Delete a guild role.
- GUILD_ROLE_MODIFY - Static variable in class discord4j.rest.route.Routes
-
Modify a guild role.
- GUILD_ROLE_POSITIONS_MODIFY - Static variable in class discord4j.rest.route.Routes
-
Modify the positions of a set of role objects for the guild.
- GUILD_ROLES_GET - Static variable in class discord4j.rest.route.Routes
-
Returns a list of role objects for the guild.
- GUILD_VOICE_REGIONS_GET - Static variable in class discord4j.rest.route.Routes
-
Returns a list of voice region objects for the guild.
- GUILD_WEBHOOKS_GET - Static variable in class discord4j.rest.route.Routes
-
Returns a list of guild webhook objects.
- GUILD_WIDGET_GET - Static variable in class discord4j.rest.route.Routes
-
Returns the guild widget object.
- GUILD_WIDGET_MODIFY - Static variable in class discord4j.rest.route.Routes
-
Modify a guild widget object for the guild.
- GuildService - Class in discord4j.rest.service
-
- GuildService(Router) - Constructor for class discord4j.rest.service.GuildService
-
- rateLimitFor(Duration) - Method in class discord4j.rest.request.BucketGlobalRateLimiter
-
- rateLimitFor(Duration) - Method in interface discord4j.rest.request.GlobalRateLimiter
-
- RateLimitRetryOperator - Class in discord4j.rest.request
-
The retry function used for reading and completing HTTP requests.
- RateLimitRetryOperator(Scheduler) - Constructor for class discord4j.rest.request.RateLimitRetryOperator
-
- RateLimitStrategy - Interface in discord4j.rest.request
-
- REACTION_CREATE - Static variable in class discord4j.rest.route.Routes
-
Create a reaction for the message.
- REACTION_DELETE - Static variable in class discord4j.rest.route.Routes
-
Deletes all the reactions for a given emoji on a message.
- REACTION_DELETE_OWN - Static variable in class discord4j.rest.route.Routes
-
Delete a reaction the current user has made for the message.
- REACTION_DELETE_USER - Static variable in class discord4j.rest.route.Routes
-
Deletes another user's reaction.
- REACTIONS_DELETE_ALL - Static variable in class discord4j.rest.route.Routes
-
Deletes all reactions on a message.
- REACTIONS_GET - Static variable in class discord4j.rest.route.Routes
-
Get a list of users that reacted with this emoji.
- reactorResources - Variable in class discord4j.rest.RestClientBuilder
-
- read(Mono<ByteBuf>, Class<Void>) - Method in class discord4j.rest.http.EmptyReaderStrategy
-
- read(Mono<ByteBuf>, Class<Object>) - Method in class discord4j.rest.http.FallbackReaderStrategy
-
- read(Mono<ByteBuf>, Class<T>) - Method in class discord4j.rest.http.JacksonReaderStrategy
-
- read(Mono<ByteBuf>, Class<T>) - Method in interface discord4j.rest.http.ReaderStrategy
-
Read from the input message and encode to a single object.
- readers() - Method in interface discord4j.rest.http.ExchangeStrategies
-
Retrieve the list of reader strategies to convert a response body.
- readerStrategy(ReaderStrategy<?>) - Method in class discord4j.rest.http.ExchangeStrategies.Builder
-
Add a new reader strategy for response body conversion.
- ReaderStrategy<T> - Interface in discord4j.rest.http
-
Strategy for reading from a
HttpClientResponse and decoding the stream of bytes
to an Object of type
<Res>.
- RED - Static variable in class discord4j.rest.util.Color
-
The color red ■.
- remove(Object) - Method in class discord4j.rest.util.Multimap
-
- removeGuildBan(Snowflake, String) - Method in class discord4j.rest.entity.RestGuild
-
- removeGuildBan(long, long, String) - Method in class discord4j.rest.service.GuildService
-
- removeGuildMember(Snowflake, String) - Method in class discord4j.rest.entity.RestGuild
-
- removeGuildMember(long, long, String) - Method in class discord4j.rest.service.GuildService
-
- removeGuildMemberRole(long, long, long, String) - Method in class discord4j.rest.service.GuildService
-
- removeMemberRole(Snowflake, Snowflake, String) - Method in class discord4j.rest.entity.RestGuild
-
- RequestQueue<T> - Interface in discord4j.rest.request
-
Abstraction for a REST request queue.
- RequestQueueFactory - Interface in discord4j.rest.request
-
- requestQueueFactory - Variable in class discord4j.rest.RestClientBuilder
-
- requests() - Method in interface discord4j.rest.request.RequestQueue
-
Exposes a Flux that continuously emits requests available in queue.
- requiresMfa() - Method in enum discord4j.rest.util.Permission
-
Gets whether the permission requires the owner account to use multi-factor authentication when used on a guild
that has server-side MFA enabled.
- ResponseFunction - Interface in discord4j.rest.response
-
- ResponseHeaderStrategy - Class in discord4j.rest.request
-
- ResponseHeaderStrategy() - Constructor for class discord4j.rest.request.ResponseHeaderStrategy
-
- responseTransformers - Variable in class discord4j.rest.RestClientBuilder
-
- restBuilder(String) - Static method in class discord4j.rest.RestClient
-
- RestChannel - Class in discord4j.rest.entity
-
Represents a guild or DM channel within Discord.
- restChannel(ChannelData) - Method in class discord4j.rest.RestClient
-
Requests to retrieve the channel represented by the supplied ChannelData.
- RestClient - Class in discord4j.rest
-
An aggregation of all Discord REST API resources available.
- RestClient(Router) - Constructor for class discord4j.rest.RestClient
-
Create a new
RestClient using the given
Router as connector to perform requests.
- RestClientBuilder<C,O extends RouterOptions> - Class in discord4j.rest
-
- RestClientBuilder(String, Function<RestClientBuilder.Config, C>, Function<RouterOptions, O>) - Constructor for class discord4j.rest.RestClientBuilder
-
- RestClientBuilder(RestClientBuilder<?, ?>, Function<RestClientBuilder.Config, C>, Function<RouterOptions, O>) - Constructor for class discord4j.rest.RestClientBuilder
-
- RestClientBuilder.Config - Class in discord4j.rest
-
- RestEmoji - Class in discord4j.rest.entity
-
Represents a guild emoji entity in Discord.
- RestGuild - Class in discord4j.rest.entity
-
Represents a guild entity in Discord.
- restGuild(GuildData) - Method in class discord4j.rest.RestClient
-
Requests to retrieve the guild represented by the supplied GuildData.
- restGuildEmoji(Snowflake, EmojiData) - Method in class discord4j.rest.RestClient
-
Requests to retrieve the guild emoji represented by the supplied ID and EmojiData.
- RestInvite - Class in discord4j.rest.entity
-
Represents a code that can be used to add a user to a guild.
- RestMember - Class in discord4j.rest.entity
-
Represents a user (bot or normal) that is member of a specific guild.
- restMember(Snowflake, MemberData) - Method in class discord4j.rest.RestClient
-
Requests to retrieve the member represented by the supplied ID and MemberData
- RestMessage - Class in discord4j.rest.entity
-
Represents a message within Discord.
- restMessage(MessageData) - Method in class discord4j.rest.RestClient
-
Requests to retrieve the message represented by the supplied MessageData.
- RestResources - Class in discord4j.rest
-
A set of resources required for key Discord4J features like entity manipulation and API communication.
- RestResources(String, ReactorResources, JacksonResources, Router) - Constructor for class discord4j.rest.RestResources
-
- RestRole - Class in discord4j.rest.entity
-
Roles represent a set of permissions, unique per guild, attached to a group of users.
- restRole(Snowflake, RoleData) - Method in class discord4j.rest.RestClient
-
Requests to retrieve the role represented by the supplied ID and RoleData.
- RestService - Class in discord4j.rest.service
-
- RestService(Router) - Constructor for class discord4j.rest.service.RestService
-
- RestUser - Class in discord4j.rest.entity
-
Represents a user (bot or normal) entity in Discord.
- restUser(UserData) - Method in class discord4j.rest.RestClient
-
Requests to retrieve the user represented by the supplied UserData.
- RestWebhook - Class in discord4j.rest.entity
-
Represents a webhook entity in Discord.
- restWebhook(WebhookData) - Method in class discord4j.rest.RestClient
-
Requests to retrieve the webhook represented by the supplied WebhookData.
- ResumingTransformer - Class in discord4j.rest.response
-
A
ResponseFunction that is able to transform an error sequence into a custom response.
- ResumingTransformer(RouteMatcher, Predicate<Throwable>, Function<Throwable, Mono<?>>) - Constructor for class discord4j.rest.response.ResumingTransformer
-
- RetryingTransformer - Class in discord4j.rest.response
-
A
ResponseFunction that is able to transform an error sequence into a retrying one.
- RetryingTransformer(RouteMatcher, Retry<?>) - Constructor for class discord4j.rest.response.RetryingTransformer
-
- retryOnceOnErrorStatus(Integer...) - Static method in interface discord4j.rest.response.ResponseFunction
-
Applies a retry strategy to retry
once with a fixed backoff of 1 second to the given
error status codes caused by any request, effectively suppressing the
ClientException
that would be forwarded otherwise.
- retryOnceOnErrorStatus(RouteMatcher, Integer...) - Static method in interface discord4j.rest.response.ResponseFunction
-
Applies a retry strategy to retry
once with a fixed backoff of 1 second to the given
error status codes caused by requests matching the given
RouteMatcher, effectively
suppressing the
ClientException that would be forwarded otherwise.
- retryOnceOnStatus(int) - Static method in exception discord4j.rest.http.client.ClientException
-
- retryWhen(RouteMatcher, Retry<?>) - Static method in interface discord4j.rest.response.ResponseFunction
-
Applies a custom retry strategy to the requests matching the given
RouteMatcher, effectively
suppressing the
ClientException that would be forwarded otherwise.
- role(Snowflake) - Method in class discord4j.rest.entity.RestGuild
-
Return a
RestRole representation under this guild.
- route(Route) - Static method in class discord4j.rest.request.RouteMatcher
-
- route(Route, Predicate<Map<String, String>>) - Static method in class discord4j.rest.request.RouteMatcher
-
- Route - Class in discord4j.rest.route
-
Provides a mapping between a Discord API endpoint and its response type.
- RouteMatcher - Class in discord4j.rest.request
-
- RouteMatcher(DiscordWebRequest, Predicate<Map<String, String>>) - Constructor for class discord4j.rest.request.RouteMatcher
-
- Router - Interface in discord4j.rest.request
-
Represents a connector executing
DiscordWebRequest objects against the Discord REST API.
- RouterOptions - Class in discord4j.rest.request
-
Options used to control the behavior of a
Router.
- RouterOptions(String, ReactorResources, ExchangeStrategies, List<ResponseFunction>, GlobalRateLimiter, RequestQueueFactory) - Constructor for class discord4j.rest.request.RouterOptions
-
- Routes - Class in discord4j.rest.route
-
A collection of
Route object definitions.
- Routes() - Constructor for class discord4j.rest.route.Routes
-
- RouteUtils - Class in discord4j.rest.util
-
- RUBY - Static variable in class discord4j.rest.util.Color
-
The color ruby ■.
- RUST - Static variable in class discord4j.rest.util.Color
-
The color rust ■.