Package-level declarations
Types
Utility class to convert between Kotlin and Java reflection objects.
Encapsulates a successful outcome or a failure.
Properties
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.
Returns null
if the element already exists
Deletes the message after the specified delay.
Deletes the original message using the hook after the specified delay.
Computes the missing permissions from the specified permission holder, If you plan on showing them, be sure to use DefaultMessages.getPermission
Dismisses the encapsulated error response and runs the given block if it corresponds to an ignored response.
Dismisses the encapsulated exception if it corresponds to an ignored exception.
Dismisses the encapsulated error response if it corresponds to an ignored response.
Dismisses the encapsulated exception if it corresponds to an predicate.
Creates a CoroutineScope with incremental thread naming, uses getDefaultScope under the hood.
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.
Returns null
if the element already exists
Queues this REST action while ignoring the provided error responses.
Reads a resource relative from the calling class.
Reads a resource relative as a string from the calling class.
Maps the encapsulated error response using the given function block if it corresponds to an ignored response.
Retrieves a thread by ID.
Retrieves a thread by ID.
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
Reads a resource relative from the calling class.