Package-level declarations
Functions
Awaits the completion of this RestAction and wraps it in a Result.
Awaits the completion of this RestAction and returns null
.
Awaits the completion of this RestAction, returns null
if one of the provided error responses was thrown.
Awaits the completion of this RestAction.
Deletes the message after the specified delay.
Deletes the original message using the hook after the specified delay.
Dismisses the encapsulated exception and runs the given block if it corresponds to an ignored exception type.
Dismisses the encapsulated exception and runs the given block if it corresponds to an ignored response.
Dismisses the encapsulated exception if it corresponds to the predicate.
Dismisses the encapsulated exception if it corresponds to an ignored exception.
Dismisses the encapsulated error response if it corresponds to an ignored response.
Runs the given block if the result is an error response.
Runs the given block if the result is the specified error response.
Runs the given block if the result is an ErrorResponseException.
Queues this REST action while ignoring the provided error responses.
Maps the encapsulated exception using the given block if it corresponds to an ignored exception type.
Maps the encapsulated exception using the given block if it corresponds to an ignored response.
Retrieves a Ban of the provided UserSnowflake, or null
if the user is not banned.
Retrieves an Entitlement from the provided ID, see JDA.retrieveEntitlementById for more details.
Retrieves a sticker from the provided ID, see JDA.retrieveSticker for more details.
Retrieves a thread by ID.
Retrieves a thread by ID.
Retrieves the Vanity Invite meta-data for this guild, or null
if the vanity code is null
or when a INVITE_CODE_INVALID
error response was caught.
Retrieves a Webhook from the provided ID, see JDA.retrieveWebhookById for more details.
Encapsulates the result of the specified function block and dismisses error responses that corresponds to an ignored response, making the Result a success.
Runs the specified function block and dismisses error responses that corresponds to an ignored response.
Runs the specified function block and returns null
on error responses that corresponds to an ignored response.
The minimum and maximum amount of values a user can select.
Temporarily suppresses message content intent warnings