All Classes
-
All Classes Interface Summary Class Summary Enum Summary Class Description Argument<O> Represents an argumentArgumentMismatchEvent An event that is provided byArgumentMismatchEventListener
ArgumentMismatchEventListener A listener that gets triggered when an argument is not validArgumentPredicate<T> A functional interface that stores a predicate forArgumentValidation
ArgumentResult This class converts a value into the given type with parsing string values and usingArgumentResultConverter
ArgumentResultConverter<F,T> Converter interfaceArgumentValidation<T> A validation builder that is contained byArgumentValidator
ArgumentValidator<T> AFunction
that validates the argument's value by specific validation aspectsAttachmentArgument<O> An argument that only acceptsAttachment
inputAutocompletableInputArgument<I,O> The autocompletable version ofInputArgument
Autocomplete Represents an autocomplete Returns exactly the same list ofChoice
AutocompleteState ChannelArgument<O> An argument that has a regex that only acceptsServerChannel
inputChoice A helper data class that stores data for creating aSlashCommandOptionChoice
ComboArgument Represents anInputArgument
that has multiple choices, and they are the only valid values for the user to pick The values are key value pairs The key isString
and the value can beString
orLong
Command A class that represents a commandCommandActionEvent An event that is provided byCommandActionEventListener
CommandActionEventListener A listener that gets triggered when on every usage of a commandCommandBuilder<B extends CommandBuilder<B>> Useful class that makesCommand
creations more comfortableCommandBuilder.ConcatenatorBuilder A nested class that unifies parameters ofCommand.addConcatenator(Concatenator, Argument...)
forCommandBuilder.concatenators(ConcatenatorBuilder...)
CommandEvent The base class of every event that contains the minimum information that is provided with eventsCommandHandler The main class of the APICommandResponder A class that takes methods out fromSlashCommandInteraction
that are to respond to a commandConcatenator<C,R> Concatenates the arguments' result to a type of value that based on the concatenation process The process is implemented by subclasses overridingConcatenator.concatenate(Object...)
methodConditionalAutocomplete A type ofAutocomplete
that returns a list ofChoice
based on conditionsConditionalAutocomplete.ConditionResult Functional interface that returns the list ofChoice
based on theAutocompleteState
ConstantArgument Only accepts inputs that are exactly the same as its nameGlobalCommand ACommand
that will be registered on all the servers where the bot on and also can be available in dmsGlobalCommandBuilder Useful class that makesGlobalCommand
creations more comfortableGroupArgument Represents an argument withSlashCommandOptionType.SUB_COMMAND_GROUP
type that only can containConstantArgument
This is for groupingSlashCommandOptionType.SUB_COMMAND
options becauseSlashCommandOptionType.SUB_COMMAND
cannot be nestedInputArgument<I,O> Represents argument that can have multiple value depends on the user input and the restrictions of the argument These arguments can be optionalMentionArgument<O> An argument that has a regex that only acceptsUser
inputNumberArgument<O> An argument that only acceptsLong
input inside long's rangeNumberPredicate AnArgumentPredicate
that can be used on arguments withLong
input type
It validates the input with an inclusive rangeRegexPredicate A regex validation predicate that is true when the input does not match the specified regexRoleArgument<O> An argument that only accepts role as input and returns aRole
SearchAutocomplete A type ofAutocomplete
that takes a datasource and returns a list ofChoice
based on user input, like a search bar The minimum number of characters for searching can be limited, the result can be sorted, its number can be limitedSearchAutocomplete.SearchType An enum that stores the possible search types with the correspondingSlashCommandOptionType
SearchAutocomplete.SortType An enum that stores the possible sort typesServerCommand ACommand
that only can be registered on serversServerCommandBuilder Useful class that makesServerCommand
creations more comfortableStringArgument<O> An argument that only acceptsString
inputStringConcatenator<R> Represents a type ofConcatenator
that concatenates the arguments' result to aString
separated with a delimiterStringLengthPredicate AnArgumentPredicate
that can be used on arguments withString
input type
It validates the length of the input with an inclusive rangeSubArgument<T extends Argument,R> Represents a sub argument Classes that extends this class can have argumentsTypeConcatenator<C,R> Represents a type ofConcatenator
URLArgument An argument that only acceptsString
input that is a valid URL (can be parsed toURL
)URLConverter Converts toURL
from the given value that is expectedly is a validURL
.