Index

A B C D E F G H I J K L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

accept(InvocationContext) - Method in class io.github.kaktushose.jdac.dispatching.middleware.impl.ConstraintMiddleware
Checks if all parameters fulfill their constraints.
accept(InvocationContext) - Method in class io.github.kaktushose.jdac.dispatching.middleware.impl.PermissionsMiddleware
Checks if the User and respectively the Member has the permission to execute the command.
accept(InvocationContext) - Method in interface io.github.kaktushose.jdac.dispatching.middleware.Middleware
Executes this middleware with the given InvocationContext.
accept(T, Runtime) - Method in class io.github.kaktushose.jdac.dispatching.handling.EventHandler
 
accessible() - Static method in interface io.github.kaktushose.jdac.property.JDACIntrospection
Whether scoped access to the introspection instance (by calling JDACIntrospection.scopedGet(JDACProperty)) is possible.
accessScoped() - Static method in interface io.github.kaktushose.jdac.property.JDACIntrospection
Returns the introspection instance set via ScopedValue if set, else throws NoSuchElementException.
adapter(Class, Class, TypeAdapter) - Method in class io.github.kaktushose.jdac.JDACBuilder
 
AdapterType<S,T> - Record Class in io.github.kaktushose.jdac.dispatching.adapter
Defines the source Type that will be converted to the target Type.
AdapterType(Type, Type) - Constructor for record class io.github.kaktushose.jdac.dispatching.adapter.AdapterType
Creates an instance of a AdapterType record class.
add(boolean) - Method in interface io.github.kaktushose.jdac.embeds.Embed.Fields
Adds a blank (empty) Field to the embed.
add(String, String) - Method in interface io.github.kaktushose.jdac.embeds.Embed.Fields
Adds a Field to the embed that isn't inlined.
add(String, String, boolean) - Method in interface io.github.kaktushose.jdac.embeds.Embed.Fields
Adds a Field to the embed.
add(MessageEmbed.Field) - Method in interface io.github.kaktushose.jdac.embeds.Embed.Fields
Copies the provided Field into a new Field for this builder.
addBuilder(JDACProperty, Class, Function) - Method in class io.github.kaktushose.jdac.property.internal.JDACIntrospectionImpl.Builder
 
addBuilder(JDACProperty, Function) - Method in class io.github.kaktushose.jdac.property.internal.JDACIntrospectionImpl.Builder
 
addChild(String[], SlashCommandDefinition) - Method in record class io.github.kaktushose.jdac.internal.register.TreeNode
Attempts to add a child TreeNode either as a child of this TreeNode or to one of its children based on the given labels.
addComponents(MessageTopLevelComponent...) - Method in class io.github.kaktushose.jdac.dispatching.reply.internal.ReplyAction
 
addEmbeds(MessageEmbed...) - Method in class io.github.kaktushose.jdac.dispatching.reply.internal.ReplyAction
 
addFallback(JDACProperty, Class, Function) - Method in class io.github.kaktushose.jdac.property.internal.JDACIntrospectionImpl.Builder
 
addFallback(JDACProperty, Function) - Method in class io.github.kaktushose.jdac.property.internal.JDACIntrospectionImpl.Builder
 
addIntrospectionProvider(Properties) - Method in class io.github.kaktushose.jdac.property.internal.JDACIntrospectionImpl
 
AFTER_15_MINUTES - Static variable in interface io.github.kaktushose.jdac.dispatching.expiration.ExpirationStrategy
Default ExpirationStrategy of ExpirationStrategy.Inactivity, that closes Runtimes after 15 minutes of inactivity.
afterMinutes() - Method in record class io.github.kaktushose.jdac.dispatching.expiration.ExpirationStrategy.Inactivity
Returns the value of the afterMinutes record component.
all() - Method in record class io.github.kaktushose.jdac.definitions.interactions.InteractionRegistry
 
all() - Method in interface io.github.kaktushose.jdac.property.Definitions
Gets all InteractionDefinitions that were indexed by JDA-Commands.
allowedMentions() - Element in annotation interface io.github.kaktushose.jdac.annotations.interactions.ReplyConfig
Sets the Message.MentionTypes to parse.
allowedMentions() - Method in record class io.github.kaktushose.jdac.definitions.interactions.InteractionDefinition.ReplyConfig
Returns the value of the allowedMentions record component.
allowedMentions(Collection) - Method in class io.github.kaktushose.jdac.dispatching.reply.internal.ReplyAction
 
allowedMentions(Collection) - Method in class io.github.kaktushose.jdac.dispatching.reply.ConfigurableReply
Sets the Message.MentionTypes to be parsed.
allowedMentions(Collection) - Method in class io.github.kaktushose.jdac.definitions.interactions.InteractionDefinition.ReplyConfig.Builder
Sets the Message.MentionTypes that should be parsed.
annotation() - Method in record class io.github.kaktushose.jdac.definitions.interactions.command.OptionDataDefinition.ConstraintDefinition
Returns the value of the annotation record component.
annotation() - Element in annotation interface io.github.kaktushose.jdac.guice.Implementation.Validator
Gets the annotation the Validator should be mapped to.
annotation(Class) - Method in interface io.github.kaktushose.jdac.definitions.description.Description
Gets the Annotation of this element for the specified type.
AnnotationDescription<T> - Record Class in io.github.kaktushose.jdac.definitions.description
A Description that describes an annotation
AnnotationDescription(T, Collection) - Constructor for record class io.github.kaktushose.jdac.definitions.description.AnnotationDescription
Creates an instance of a AnnotationDescription record class.
annotations() - Method in record class io.github.kaktushose.jdac.definitions.description.AnnotationDescription
Returns the value of the annotations record component.
annotations() - Method in record class io.github.kaktushose.jdac.definitions.description.ClassDescription
Returns the value of the annotations record component.
annotations() - Method in interface io.github.kaktushose.jdac.definitions.description.Description
Gets all Annotations this element is annotated with
annotations() - Method in record class io.github.kaktushose.jdac.definitions.description.MethodDescription
Returns the value of the annotations record component.
annotations() - Method in record class io.github.kaktushose.jdac.definitions.description.PackageDescription
Returns the value of the annotations record component.
annotations() - Method in record class io.github.kaktushose.jdac.definitions.description.ParameterDescription
Returns the value of the annotations record component.
applicationEmojis() - Method in class io.github.kaktushose.jdac.internal.JDAContext
 
apply(String) - Method in class io.github.kaktushose.jdac.message.i18n.internal.JDACLocalizationFunction
 
apply(Member, NotPerm, Validator.Context) - Method in class io.github.kaktushose.jdac.dispatching.validation.impl.NotPermissionValidator
Validates an argument.
apply(Member, Perm, Validator.Context) - Method in class io.github.kaktushose.jdac.dispatching.validation.impl.PermissionValidator
Validates an argument.
apply(CommandData) - Method in class io.github.kaktushose.jdac.scope.DefaultGuildScopeProvider
 
apply(CommandData) - Method in interface io.github.kaktushose.jdac.scope.GuildScopeProvider
Gets a Set of guild ids the provided command should be registered for.
apply(T, A, Validator.Context) - Method in interface io.github.kaktushose.jdac.dispatching.validation.Validator
Validates an argument.
arguments() - Method in record class io.github.kaktushose.jdac.dispatching.context.InvocationContext
 
asButton() - Method in class io.github.kaktushose.jdac.dispatching.reply.Component
 
asEntitySelectMenu() - Method in class io.github.kaktushose.jdac.dispatching.reply.Component
 
asStringSelectMenu() - Method in class io.github.kaktushose.jdac.dispatching.reply.Component
 
asThumbnail() - Method in class io.github.kaktushose.jdac.dispatching.reply.Component
 
asThumbnail() - Method in class io.github.kaktushose.jdac.dispatching.reply.dynamic.ButtonComponent
 
author(String) - Method in class io.github.kaktushose.jdac.embeds.Embed
Sets the Author of the embed.
author(String, String) - Method in class io.github.kaktushose.jdac.embeds.Embed
Sets the Author of the embed.
author(String, String, String) - Method in class io.github.kaktushose.jdac.embeds.Embed
Sets the Author of the embed.
autoComplete() - Method in record class io.github.kaktushose.jdac.definitions.interactions.command.OptionDataDefinition
Returns the value of the autoComplete record component.
AutoComplete - Annotation Interface in io.github.kaktushose.jdac.annotations.interactions
Methods annotated with AutoComplete will be registered as a handler for AutoCompleteEvents for the given Commands.
AutoCompleteDefinition - Record Class in io.github.kaktushose.jdac.definitions.interactions
Representation of an auto complete handler.
AutoCompleteDefinition(ClassDescription, MethodDescription, Set) - Constructor for record class io.github.kaktushose.jdac.definitions.interactions.AutoCompleteDefinition
Creates an instance of a AutoCompleteDefinition record class.
AutoCompleteDefinition.AutoCompleteRule - Record Class in io.github.kaktushose.jdac.definitions.interactions
Representation of an auto complete rule.
autoCompleteDefinitions() - Method in record class io.github.kaktushose.jdac.definitions.interactions.MethodBuildContext
Returns the value of the autoCompleteDefinitions record component.
AutoCompleteEvent - Class in io.github.kaktushose.jdac.dispatching.events.interactions
This class is a subclass of Event.
AutoCompleteEvent() - Constructor for class io.github.kaktushose.jdac.dispatching.events.interactions.AutoCompleteEvent
 
AutoCompleteHandler - Class in io.github.kaktushose.jdac.dispatching.handling
 
AutoCompleteHandler(JDACIntrospectionImpl) - Constructor for class io.github.kaktushose.jdac.dispatching.handling.AutoCompleteHandler
 
AutoCompleteRule(String, Set) - Constructor for record class io.github.kaktushose.jdac.definitions.interactions.AutoCompleteDefinition.AutoCompleteRule
Creates an instance of a AutoCompleteRule record class.

B

BOUND_CUSTOM_ID_REGEX - Static variable in record class io.github.kaktushose.jdac.definitions.interactions.CustomId
 
build() - Method in class io.github.kaktushose.jdac.embeds.Embed
Returns a MessageEmbed just like EmbedBuilder.build(), but will also localize this embed based on the Embed.locale(Locale) and placeholders provided.
build() - Method in class io.github.kaktushose.jdac.embeds.internal.Embeds.Configuration
Converts this configuration into an Embeds instance that should be used globally.
build() - Method in class io.github.kaktushose.jdac.message.i18n.FluavaLocalizer.Builder
Builds a new FluavaLocalizer instance based on the options of this builder.
build(D) - Method in class io.github.kaktushose.jdac.dispatching.reply.Component
 
build(MenuOption) - Static method in record class io.github.kaktushose.jdac.definitions.interactions.component.menu.StringSelectMenuDefinition.MenuOptionDefinition
build(ClassDescription, MethodDescription) - Static method in record class io.github.kaktushose.jdac.definitions.interactions.AutoCompleteDefinition
Builds a new AutoCompleteDefinition from the given class and method description.
build(ParameterDescription, ClassDescription, AutoCompleteDefinition, MessageResolver, Validators) - Static method in record class io.github.kaktushose.jdac.definitions.interactions.command.OptionDataDefinition
Builds a new OptionDataDefinition.
build(ButtonDefinition) - Method in class io.github.kaktushose.jdac.dispatching.reply.dynamic.ButtonComponent
 
build(ComponentDefinition) - Method in class io.github.kaktushose.jdac.dispatching.reply.dynamic.internal.UnspecificComponent
 
build(EntitySelectMenuDefinition) - Method in class io.github.kaktushose.jdac.dispatching.reply.dynamic.menu.EntitySelectMenuComponent
 
build(StringSelectMenuDefinition) - Method in class io.github.kaktushose.jdac.dispatching.reply.dynamic.menu.StringSelectComponent
 
build(MethodBuildContext) - Static method in record class io.github.kaktushose.jdac.definitions.interactions.command.ContextCommandDefinition
Builds a new ContextCommandDefinition from the given MethodBuildContext.
build(MethodBuildContext) - Static method in record class io.github.kaktushose.jdac.definitions.interactions.command.SlashCommandDefinition
Builds a new SlashCommandDefinition from the given MethodBuildContext.
build(MethodBuildContext) - Static method in record class io.github.kaktushose.jdac.definitions.interactions.component.ButtonDefinition
Constructs a new ButtonDefinition from the given MethodBuildContext.
build(MethodBuildContext) - Static method in record class io.github.kaktushose.jdac.definitions.interactions.component.menu.EntitySelectMenuDefinition
Builds a new EntitySelectMenuDefinition from the given MethodBuildContext.
build(MethodBuildContext) - Static method in record class io.github.kaktushose.jdac.definitions.interactions.component.menu.StringSelectMenuDefinition
Builds a new StringSelectMenuDefinition from the given MethodBuildContext.
build(MethodBuildContext) - Static method in record class io.github.kaktushose.jdac.definitions.interactions.ModalDefinition
Builds a new ModalDefinition from the given MethodBuildContext.
builder(Fluava) - Static method in class io.github.kaktushose.jdac.message.i18n.FluavaLocalizer
Creates a new FluavaLocalizer.Builder backed by the passed Fluava instance.
builder(Consumer) - Method in class io.github.kaktushose.jdac.dispatching.reply.internal.ReplyAction
 
builder(Consumer) - Method in class io.github.kaktushose.jdac.dispatching.reply.MessageReply
Access the underlying MessageCreateBuilder for configuration steps not covered by ConfigurableReply.
builder(JDA) - Static method in class io.github.kaktushose.jdac.JDACommands
Create a new builder.
builder(ShardManager) - Static method in class io.github.kaktushose.jdac.JDACommands
Create a new builder.
Builder() - Constructor for class io.github.kaktushose.jdac.definitions.interactions.command.CommandDefinition.CommandConfig.Builder
Constructs a new Builder.
Builder() - Constructor for class io.github.kaktushose.jdac.definitions.interactions.InteractionDefinition.ReplyConfig.Builder
Constructs a new Builder.
BUILDER - Static variable in interface io.github.kaktushose.jdac.property.JDACProperty
A collection consisting of all Propertys that are settable by the user through JDACBuilder
bundle - Variable in exception class io.github.kaktushose.jdac.exceptions.internal.JDACException
 
bundle() - Method in exception class io.github.kaktushose.jdac.property.extension.ExtensionException
 
Bundle - Annotation Interface in io.github.kaktushose.jdac.annotations.i18n
The bundle annotation states which localization bundle is to be used in a certain scope.
BUNDLE_FINDER - Static variable in interface io.github.kaktushose.jdac.property.internal.JDACInternalProperties
 
BundleFinder - Class in io.github.kaktushose.jdac.message.i18n.internal
 
BundleFinder(Descriptor) - Constructor for class io.github.kaktushose.jdac.message.i18n.internal.BundleFinder
 
bundleName() - Method in record class io.github.kaktushose.jdac.property.extension.ExtensionException.Information
Returns the value of the bundleName record component.
button(Class, String, Entry...) - Static method in class io.github.kaktushose.jdac.dispatching.reply.Component
Adds a ButtonComponent to the reply.
button(String, Entry...) - Static method in class io.github.kaktushose.jdac.dispatching.reply.Component
Adds a ButtonComponent to the reply.
Button - Annotation Interface in io.github.kaktushose.jdac.annotations.interactions
Methods annotated with Button will be registered as a button at startup.
ButtonComponent - Class in io.github.kaktushose.jdac.dispatching.reply.dynamic
An implementation of Component specific to Button
ButtonComponent(String, Class, Entry[]) - Constructor for class io.github.kaktushose.jdac.dispatching.reply.dynamic.ButtonComponent
 
ButtonDefinition - Record Class in io.github.kaktushose.jdac.definitions.interactions.component
Representation of a button.
ButtonDefinition(ClassDescription, MethodDescription, Collection, String, Emoji, String, ButtonStyle, Integer) - Constructor for record class io.github.kaktushose.jdac.definitions.interactions.component.ButtonDefinition
Creates an instance of a ButtonDefinition record class.

C

callback() - Method in class io.github.kaktushose.jdac.dispatching.reply.Component
 
callOnStart(JDACommands) - Method in class io.github.kaktushose.jdac.property.internal.extension.Extensions
 
cancel(MessageTopLevelComponent, Entry...) - Method in record class io.github.kaktushose.jdac.dispatching.context.InvocationContext
Stops further execution of this invocation at the next suitable moment.
cancel(MessageCreateData) - Method in record class io.github.kaktushose.jdac.dispatching.context.InvocationContext
Stops further execution of this invocation at the next suitable moment.
cancelled() - Method in record class io.github.kaktushose.jdac.dispatching.context.InvocationContext
 
castUnsafe(Object) - Static method in class io.github.kaktushose.jdac.internal.Helpers
 
channelTypes() - Element in annotation interface io.github.kaktushose.jdac.annotations.interactions.EntityMenu
The ChannelTypes that should be supported by this menu.
channelTypes() - Method in record class io.github.kaktushose.jdac.definitions.interactions.component.menu.EntitySelectMenuDefinition
Returns the value of the channelTypes record component.
channelTypes(Set) - Method in class io.github.kaktushose.jdac.dispatching.reply.dynamic.menu.EntitySelectMenuComponent
 
channelTypes(ChannelType...) - Method in class io.github.kaktushose.jdac.dispatching.reply.dynamic.menu.EntitySelectMenuComponent
 
checkClass(ClassDescription) - Method in class io.github.kaktushose.jdac.message.i18n.internal.BundleFinder
 
checkDetached(IDetachableEntity, Class) - Static method in class io.github.kaktushose.jdac.internal.Helpers
 
checkParametrizedType(Type, Class, Class) - Static method in class io.github.kaktushose.jdac.internal.Helpers
 
checkSignature(MethodDescription, SequencedCollection) - Static method in class io.github.kaktushose.jdac.internal.Helpers
 
checkSignatureUserContext(MethodDescription) - Static method in class io.github.kaktushose.jdac.internal.Helpers
 
children() - Method in record class io.github.kaktushose.jdac.internal.register.TreeNode
Returns the value of the children record component.
choices() - Method in record class io.github.kaktushose.jdac.definitions.interactions.command.OptionDataDefinition
Returns the value of the choices record component.
Choices - Annotation Interface in io.github.kaktushose.jdac.annotations.interactions
Annotation used to add choices to command options.
CLASS_FINDER - Static variable in interface io.github.kaktushose.jdac.property.JDACProperty
 
classDescription() - Method in interface io.github.kaktushose.jdac.definitions.features.internal.Invokable
The ClassDescription of the declaring class of the Invokable.methodDescription().
classDescription() - Method in record class io.github.kaktushose.jdac.definitions.interactions.AutoCompleteDefinition
Returns the value of the classDescription record component.
classDescription() - Method in record class io.github.kaktushose.jdac.definitions.interactions.command.ContextCommandDefinition
Returns the value of the classDescription record component.
classDescription() - Method in record class io.github.kaktushose.jdac.definitions.interactions.command.SlashCommandDefinition
Returns the value of the classDescription record component.
classDescription() - Method in record class io.github.kaktushose.jdac.definitions.interactions.component.ButtonDefinition
Returns the value of the classDescription record component.
classDescription() - Method in interface io.github.kaktushose.jdac.definitions.interactions.component.ComponentDefinition
classDescription() - Method in record class io.github.kaktushose.jdac.definitions.interactions.component.menu.EntitySelectMenuDefinition
Returns the value of the classDescription record component.
classDescription() - Method in record class io.github.kaktushose.jdac.definitions.interactions.component.menu.StringSelectMenuDefinition
Returns the value of the classDescription record component.
classDescription() - Method in record class io.github.kaktushose.jdac.definitions.interactions.ModalDefinition
Returns the value of the classDescription record component.
ClassDescription - Record Class in io.github.kaktushose.jdac.definitions.description
A Description that describes a class.
ClassDescription(Class, String, PackageDescription, Collection, Collection) - Constructor for record class io.github.kaktushose.jdac.definitions.description.ClassDescription
Creates an instance of a ClassDescription record class.
classes() - Method in record class io.github.kaktushose.jdac.property.extension.ExtensionFilter
Returns the value of the classes record component.
ClassFinder - Interface in io.github.kaktushose.jdac.definitions.description
ClassFinders search for classes annotated with a specific annotation
classFinders(ClassFinder...) - Method in class io.github.kaktushose.jdac.JDACBuilder
 
clazz() - Method in record class io.github.kaktushose.jdac.definitions.description.ClassDescription
Returns the value of the clazz record component.
clazz() - Method in record class io.github.kaktushose.jdac.definitions.interactions.MethodBuildContext
Returns the value of the clazz record component.
clear() - Method in class io.github.kaktushose.jdac.dispatching.context.KeyValueStore
Removes all the value mappings.
clear() - Method in class io.github.kaktushose.jdac.embeds.Embed
Resets this builder to default state.
clear() - Method in interface io.github.kaktushose.jdac.embeds.Embed.Fields
Clears all fields from the embed.
close() - Method in class io.github.kaktushose.jdac.dispatching.Runtime
 
closeRuntime() - Method in class io.github.kaktushose.jdac.dispatching.events.Event
Closes the underlying Runtime.
color(int) - Method in class io.github.kaktushose.jdac.embeds.Embed
Sets the Color of the embed.
color(Color) - Method in class io.github.kaktushose.jdac.embeds.Embed
Sets the Color of the embed.
command() - Method in record class io.github.kaktushose.jdac.definitions.interactions.AutoCompleteDefinition.AutoCompleteRule
Returns the value of the command record component.
command() - Method in record class io.github.kaktushose.jdac.internal.register.TreeNode
Returns the value of the command record component.
Command - Annotation Interface in io.github.kaktushose.jdac.annotations.interactions
Methods annotated with Command will be registered as a slash command at startup.
commandConfig() - Method in interface io.github.kaktushose.jdac.definitions.interactions.command.CommandDefinition
 
commandConfig() - Method in record class io.github.kaktushose.jdac.definitions.interactions.command.ContextCommandDefinition
Returns the value of the commandConfig record component.
commandConfig() - Method in record class io.github.kaktushose.jdac.definitions.interactions.command.SlashCommandDefinition
Returns the value of the commandConfig record component.
commandConfig(MethodBuildContext) - Static method in class io.github.kaktushose.jdac.internal.Helpers
The CommandDefinition.CommandConfig that should be used when registering commands.
CommandConfig - Annotation Interface in io.github.kaktushose.jdac.annotations.interactions
Used to configure the registration of commands.
CommandConfig() - Constructor for record class io.github.kaktushose.jdac.definitions.interactions.command.CommandDefinition.CommandConfig
Constructs a new CommandConfig using the following default values:
CommandConfig(CommandConfig) - Constructor for record class io.github.kaktushose.jdac.definitions.interactions.command.CommandDefinition.CommandConfig
Constructs a new CommandConfig.
CommandConfig(InteractionContextType[], IntegrationType[], CommandScope, boolean, Permission[]) - Constructor for record class io.github.kaktushose.jdac.definitions.interactions.command.CommandDefinition.CommandConfig
Compact constructor ensuring that CommandDefinition.CommandConfig.context and CommandDefinition.CommandConfig.integration is always set.
CommandDefinition - Interface in io.github.kaktushose.jdac.definitions.interactions.command
Common interface for command interaction definitions.
CommandDefinition.CommandConfig - Record Class in io.github.kaktushose.jdac.definitions.interactions.command
Stores the configuration values for registering commands.
CommandDefinition.CommandConfig.Builder - Class in io.github.kaktushose.jdac.definitions.interactions.command
CommandEvent - Class in io.github.kaktushose.jdac.dispatching.events.interactions
This class is a subclass of Event.
CommandEvent() - Constructor for class io.github.kaktushose.jdac.dispatching.events.interactions.CommandEvent
 
commandOptions() - Method in record class io.github.kaktushose.jdac.definitions.interactions.command.SlashCommandDefinition
Returns the value of the commandOptions record component.
CommandScope - Enum Class in io.github.kaktushose.jdac.annotations.interactions
Enum describing the two possible scopes a command can be registered for.
CommandTree - Record Class in io.github.kaktushose.jdac.internal.register
A tree data structure representing slash commands sorted into Subcommands and SubcommandGroups.
CommandTree(TreeNode) - Constructor for record class io.github.kaktushose.jdac.internal.register.CommandTree
Creates an instance of a CommandTree record class.
CommandTree(Collection) - Constructor for record class io.github.kaktushose.jdac.internal.register.CommandTree
Constructs a new CommandTree from the given SlashCommandDefinitions.
commandType() - Method in interface io.github.kaktushose.jdac.definitions.interactions.command.CommandDefinition
The Command.Type of this command.
commandType() - Method in record class io.github.kaktushose.jdac.definitions.interactions.command.ContextCommandDefinition
Returns the value of the commandType record component.
commandType() - Method in record class io.github.kaktushose.jdac.definitions.interactions.command.SlashCommandDefinition
 
CommandUpdater - Class in io.github.kaktushose.jdac.internal.register
Class that sends the CommandData to Discord.
CommandUpdater(JDAContext, GuildScopeProvider, InteractionRegistry, LocalizationFunction) - Constructor for class io.github.kaktushose.jdac.internal.register.CommandUpdater
Constructs a new CommandUpdater.
Component<S,T,B,D> - Class in io.github.kaktushose.jdac.dispatching.reply
Represents a component, namely Button, StringMenu or EntityMenu, that should be added to a reply.
Component(String, Class, Entry[]) - Constructor for class io.github.kaktushose.jdac.dispatching.reply.Component
 
ComponentDefinition<T> - Interface in io.github.kaktushose.jdac.definitions.interactions.component
Common interface for component interaction definitions.
ComponentEvent - Class in io.github.kaktushose.jdac.dispatching.events.interactions
This class is a subclass of Event.
ComponentEvent() - Constructor for class io.github.kaktushose.jdac.dispatching.events.interactions.ComponentEvent
 
ComponentHandler - Class in io.github.kaktushose.jdac.dispatching.handling
 
ComponentHandler(JDACIntrospectionImpl) - Constructor for class io.github.kaktushose.jdac.dispatching.handling.ComponentHandler
 
ComponentResolver<T> - Class in io.github.kaktushose.jdac.message.resolver
Resolver implementation that can resolve any Component.
ComponentResolver(Resolver, Class) - Constructor for class io.github.kaktushose.jdac.message.resolver.ComponentResolver
Constructs a new ComponentResolver.
components() - Method in record class io.github.kaktushose.jdac.definitions.interactions.ModalDefinition
Returns the value of the components record component.
components(Component...) - Method in class io.github.kaktushose.jdac.dispatching.reply.MessageReply
Adds an ActionRow to the reply and adds the passed Component to it.
components(String...) - Method in class io.github.kaktushose.jdac.dispatching.reply.MessageReply
Adds an ActionRow to the reply and adds the passed components to it.
componentTree() - Method in class io.github.kaktushose.jdac.dispatching.reply.internal.ReplyAction
 
ConfigurableReply - Class in io.github.kaktushose.jdac.dispatching.reply
Builder for sending messages based on a GenericInteractionCreateEvent that supports adding components to messages and changing the InteractionDefinition.ReplyConfig.
ConfigurableReply(InteractionDefinition.ReplyConfig) - Constructor for class io.github.kaktushose.jdac.dispatching.reply.ConfigurableReply
Constructs a new ConfigurableReply.
Configuration(MessageResolver, Collection) - Constructor for class io.github.kaktushose.jdac.embeds.internal.Embeds.Configuration
Constructs a new embed configuration builder.
CONFIGURATION - Enum constant in enum class io.github.kaktushose.jdac.property.JDACScope
 
ConfigurationException - Exception Class in io.github.kaktushose.jdac.exceptions
Will be thrown if anything goes wrong while configuring jda-commands.
ConfigurationException(String) - Constructor for exception class io.github.kaktushose.jdac.exceptions.ConfigurationException
 
ConfigurationException(String, Entry...) - Constructor for exception class io.github.kaktushose.jdac.exceptions.ConfigurationException
 
ConfigurationException(String, Throwable) - Constructor for exception class io.github.kaktushose.jdac.exceptions.ConfigurationException
 
ConfigurationException(String, Throwable, Entry...) - Constructor for exception class io.github.kaktushose.jdac.exceptions.ConfigurationException
 
ConfigurationScopeModule - Class in io.github.kaktushose.jdac.guice.internal.guice.modules
 
ConfigurationScopeModule(JDACIntrospection) - Constructor for class io.github.kaktushose.jdac.guice.internal.guice.modules.ConfigurationScopeModule
 
configure() - Method in class io.github.kaktushose.jdac.guice.internal.guice.GuiceExtensionModule
 
Constraint - Annotation Interface in io.github.kaktushose.jdac.annotations.constraints
Indicates that an annotation type can be used for parameter validation.
ConstraintDefinition(Validator, AnnotationDescription) - Constructor for record class io.github.kaktushose.jdac.definitions.interactions.command.OptionDataDefinition.ConstraintDefinition
Creates an instance of a ConstraintDefinition record class.
ConstraintMiddleware - Class in io.github.kaktushose.jdac.dispatching.middleware.impl
A Middleware implementation that will check the parameter constraints a SlashCommandDefinition might have.
ConstraintMiddleware(ErrorMessageFactory) - Constructor for class io.github.kaktushose.jdac.dispatching.middleware.impl.ConstraintMiddleware
 
constraints() - Method in record class io.github.kaktushose.jdac.definitions.interactions.command.OptionDataDefinition
Returns the value of the constraints record component.
contains(String) - Method in class io.github.kaktushose.jdac.dispatching.context.KeyValueStore
Whether this StateSection has a value mapped to the key.
context() - Element in annotation interface io.github.kaktushose.jdac.annotations.interactions.CommandConfig
context() - Method in record class io.github.kaktushose.jdac.definitions.interactions.command.CommandDefinition.CommandConfig
Returns the value of the context record component.
context(Collection) - Method in class io.github.kaktushose.jdac.definitions.interactions.command.CommandDefinition.CommandConfig.Builder
context(InteractionContextType...) - Method in class io.github.kaktushose.jdac.definitions.interactions.command.CommandDefinition.CommandConfig.Builder
Context(InvocationContext, ErrorMessageFactory) - Constructor for class io.github.kaktushose.jdac.dispatching.validation.Validator.Context
 
CONTEXT - Static variable in exception class io.github.kaktushose.jdac.exceptions.InvalidDeclarationException
 
ContextCommandDefinition - Record Class in io.github.kaktushose.jdac.definitions.interactions.command
Representation of a context command.
ContextCommandDefinition(ClassDescription, MethodDescription, Collection, String, Command.Type, CommandDefinition.CommandConfig) - Constructor for record class io.github.kaktushose.jdac.definitions.interactions.command.ContextCommandDefinition
Creates an instance of a ContextCommandDefinition record class.
ContextCommandHandler - Class in io.github.kaktushose.jdac.dispatching.handling.command
 
ContextCommandHandler(JDACIntrospectionImpl) - Constructor for class io.github.kaktushose.jdac.dispatching.handling.command.ContextCommandHandler
 
create(Fluava) - Static method in class io.github.kaktushose.jdac.message.i18n.FluavaLocalizer
Creates a new FluavaLocalizer instance backed by the passed Fluava instance.
create(JDACScope) - Static method in class io.github.kaktushose.jdac.property.internal.JDACIntrospectionImpl
 
create(Locale) - Static method in class io.github.kaktushose.jdac.message.i18n.FluavaLocalizer
Creates a new FluavaLocalizer with Fluava.fallback() set to passed locale.
createChild(JDACScope) - Method in class io.github.kaktushose.jdac.property.internal.JDACIntrospectionImpl
 
createDefinitionId(String, String) - Static method in interface io.github.kaktushose.jdac.definitions.interactions.InteractionDefinition
Creates a definition id from the classname and method name
CustomFormatter - Class in io.github.kaktushose.jdac.internal.logging
 
CustomFormatter() - Constructor for class io.github.kaktushose.jdac.internal.logging.CustomFormatter
 
CustomId - Record Class in io.github.kaktushose.jdac.definitions.interactions
Representation of a custom id used in modals, buttons or select menus.
CustomId(String, String) - Constructor for record class io.github.kaktushose.jdac.definitions.interactions.CustomId
Creates an instance of a CustomId record class.
CustomIdJDAEntity<T> - Interface in io.github.kaktushose.jdac.definitions.features
Indicates that the implementing Definition can be transformed into a JDA entity that has a CustomId.

D

dataObject(DataObject) - Static method in interface io.github.kaktushose.jdac.embeds.EmbedDataSource
Constructs a new EmbedDataSource using a DataObject as its source.
DataObjectResolver - Class in io.github.kaktushose.jdac.message.resolver
Resolver implementation that is capable of resolving JDAs DataObject.
DataObjectResolver(Resolver, Set) - Constructor for class io.github.kaktushose.jdac.message.resolver.DataObjectResolver
Constructs a new DataObjectResolver.
dataType() - Method in class io.github.kaktushose.jdac.guice.internal.GuiceExtension
 
dataType() - Method in interface io.github.kaktushose.jdac.property.extension.Extension
 
declaredType() - Method in record class io.github.kaktushose.jdac.definitions.interactions.command.OptionDataDefinition
Returns the value of the declaredType record component.
declaringClass() - Method in record class io.github.kaktushose.jdac.definitions.description.MethodDescription
Returns the value of the declaringClass record component.
DEFAULT_BUNDLE - Static variable in class io.github.kaktushose.jdac.message.i18n.I18n
 
defaultChannels() - Element in annotation interface io.github.kaktushose.jdac.annotations.interactions.EntityMenu
The default values for channels that will be shown to the user.
DefaultErrorMessageFactory - Class in io.github.kaktushose.jdac.embeds.error
The default implementation of ErrorMessageFactory using Components V2.
DefaultErrorMessageFactory(MessageResolver) - Constructor for class io.github.kaktushose.jdac.embeds.error.DefaultErrorMessageFactory
 
DefaultGuildScopeProvider - Class in io.github.kaktushose.jdac.scope
Default implementation of GuildScopeProvider.
DefaultGuildScopeProvider() - Constructor for class io.github.kaktushose.jdac.scope.DefaultGuildScopeProvider
 
defaultOptions(Collection) - Method in class io.github.kaktushose.jdac.dispatching.reply.dynamic.menu.StringSelectComponent
 
defaultOptions(SelectOption...) - Method in class io.github.kaktushose.jdac.dispatching.reply.dynamic.menu.StringSelectComponent
 
DefaultPermissionsProvider - Class in io.github.kaktushose.jdac.permissions
Default implementation of PermissionsProvider with the following behaviour:
DefaultPermissionsProvider() - Constructor for class io.github.kaktushose.jdac.permissions.DefaultPermissionsProvider
 
defaultRoles() - Element in annotation interface io.github.kaktushose.jdac.annotations.interactions.EntityMenu
The default values for roles that will be shown to the user.
defaultUsers() - Element in annotation interface io.github.kaktushose.jdac.annotations.interactions.EntityMenu
The default values for users that will be shown to the user.
defaultValues() - Method in record class io.github.kaktushose.jdac.definitions.interactions.component.menu.EntitySelectMenuDefinition
Returns the value of the defaultValues record component.
defaultValues(String...) - Method in class io.github.kaktushose.jdac.dispatching.reply.dynamic.menu.StringSelectComponent
 
defaultValues(Collection) - Method in class io.github.kaktushose.jdac.dispatching.reply.dynamic.menu.StringSelectComponent
 
defaultValues(Collection) - Method in class io.github.kaktushose.jdac.dispatching.reply.dynamic.menu.EntitySelectMenuComponent
 
defaultValues(EntitySelectMenu.DefaultValue...) - Method in class io.github.kaktushose.jdac.dispatching.reply.dynamic.menu.EntitySelectMenuComponent
 
deferEdit() - Method in class io.github.kaktushose.jdac.dispatching.events.interactions.ComponentEvent
No-op acknowledgement of this interaction.
deferEdit() - Method in class io.github.kaktushose.jdac.dispatching.events.interactions.ModalEvent
No-op acknowledgement of this interaction.
deferReply() - Method in class io.github.kaktushose.jdac.dispatching.events.ReplyableEvent
Acknowledge this interaction and defer the reply to a later time.
deferReply(boolean) - Method in class io.github.kaktushose.jdac.dispatching.events.interactions.CommandEvent
 
deferReply(boolean) - Method in class io.github.kaktushose.jdac.dispatching.events.interactions.ComponentEvent
 
deferReply(boolean) - Method in class io.github.kaktushose.jdac.dispatching.events.interactions.ModalEvent
 
deferReply(boolean) - Method in class io.github.kaktushose.jdac.dispatching.events.ReplyableEvent
Acknowledge this interaction and defer the reply to a later time.
definition() - Method in record class io.github.kaktushose.jdac.dispatching.context.InvocationContext
Returns the value of the definition record component.
definition() - Method in record class io.github.kaktushose.jdac.dispatching.handling.EventHandler.PreparationResult
Returns the value of the definition record component.
definition() - Method in interface io.github.kaktushose.jdac.embeds.error.ErrorMessageFactory.ErrorContext
The InteractionDefinition that models the interaction of the ErrorMessageFactory.ErrorContext.event().
definition() - Method in class io.github.kaktushose.jdac.guice.internal.guice.modules.InitializedScopeModule
 
Definition - Interface in io.github.kaktushose.jdac.definitions
The common interface for all interaction definitions and their sub parts, such as parameters or text inputs, etc.
definitionClass() - Method in class io.github.kaktushose.jdac.dispatching.reply.Component
 
definitionClass() - Method in class io.github.kaktushose.jdac.dispatching.reply.dynamic.ButtonComponent
 
definitionClass() - Method in class io.github.kaktushose.jdac.dispatching.reply.dynamic.internal.UnspecificComponent
 
definitionClass() - Method in class io.github.kaktushose.jdac.dispatching.reply.dynamic.menu.EntitySelectMenuComponent
 
definitionClass() - Method in class io.github.kaktushose.jdac.dispatching.reply.dynamic.menu.StringSelectComponent
 
definitionId() - Method in interface io.github.kaktushose.jdac.definitions.Definition
The id for this definition.
definitionId() - Method in record class io.github.kaktushose.jdac.definitions.interactions.CustomId
Returns the value of the definitionId record component.
definitionId() - Method in interface io.github.kaktushose.jdac.definitions.interactions.InteractionDefinition
The id for this definition.
definitions() - Method in record class io.github.kaktushose.jdac.definitions.interactions.InteractionRegistry
Returns the value of the definitions record component.
Definitions - Interface in io.github.kaktushose.jdac.property
This interface provides read-only access to the indexed Definitions which are used to build and execute interactions.
DEFINITIONS - Static variable in interface io.github.kaktushose.jdac.property.JDACProperty
The Definitions instance available after fully starting the framework.
desc() - Element in annotation interface io.github.kaktushose.jdac.annotations.interactions.Command
Returns the description of the command.
describe(Class) - Method in interface io.github.kaktushose.jdac.definitions.description.Descriptor
Transforms the given Class into a ClassDescription.
describe(Class) - Method in class io.github.kaktushose.jdac.definitions.description.reflective.ReflectiveDescriptor
 
description() - Element in annotation interface io.github.kaktushose.jdac.annotations.interactions.MenuOption
Gets the description of an option.
description() - Method in record class io.github.kaktushose.jdac.definitions.interactions.command.OptionDataDefinition
Returns the value of the description record component.
description() - Method in record class io.github.kaktushose.jdac.definitions.interactions.command.SlashCommandDefinition
Returns the value of the description record component.
description() - Method in record class io.github.kaktushose.jdac.definitions.interactions.component.menu.StringSelectMenuDefinition.MenuOptionDefinition
Returns the value of the description record component.
description(CharSequence) - Method in class io.github.kaktushose.jdac.embeds.Embed
Sets the Description of the embed.
Description - Interface in io.github.kaktushose.jdac.definitions.description
The common interface of all Description types.
descriptor() - Method in record class io.github.kaktushose.jdac.definitions.interactions.InteractionRegistry
Returns the value of the descriptor record component.
descriptor() - Method in class io.github.kaktushose.jdac.guice.internal.guice.modules.ConfigurationScopeModule
 
descriptor(Descriptor) - Method in class io.github.kaktushose.jdac.JDACBuilder
 
Descriptor - Interface in io.github.kaktushose.jdac.definitions.description
A Descriptor takes a Class as input and transforms it into a ClassDescription.
DESCRIPTOR - Static variable in interface io.github.kaktushose.jdac.property.JDACProperty
 
disabled(Class, String, Entry...) - Static method in class io.github.kaktushose.jdac.dispatching.reply.Component
Adds a disabled Component to the reply that is defined in a different class.
disabled(String, Entry...) - Static method in class io.github.kaktushose.jdac.dispatching.reply.Component
Adds disabled, runtime-bound Components to the reply.
DiscordHandled() - Constructor for record class io.github.kaktushose.jdac.dispatching.validation.internal.Validators.Result.DiscordHandled
Creates an instance of a DiscordHandled record class.
displayName() - Method in interface io.github.kaktushose.jdac.definitions.Definition
The human-readable name of this definition.
displayName() - Method in record class io.github.kaktushose.jdac.definitions.interactions.AutoCompleteDefinition
 
displayName() - Method in record class io.github.kaktushose.jdac.definitions.interactions.command.ContextCommandDefinition
 
displayName() - Method in record class io.github.kaktushose.jdac.definitions.interactions.command.OptionDataDefinition.ConstraintDefinition
 
displayName() - Method in record class io.github.kaktushose.jdac.definitions.interactions.command.OptionDataDefinition
 
displayName() - Method in record class io.github.kaktushose.jdac.definitions.interactions.command.SlashCommandDefinition
 
displayName() - Method in record class io.github.kaktushose.jdac.definitions.interactions.component.ButtonDefinition
 
displayName() - Method in record class io.github.kaktushose.jdac.definitions.interactions.component.menu.EntitySelectMenuDefinition
 
displayName() - Method in record class io.github.kaktushose.jdac.definitions.interactions.component.menu.StringSelectMenuDefinition
 
displayName() - Method in record class io.github.kaktushose.jdac.definitions.interactions.component.menu.StringSelectMenuDefinition.MenuOptionDefinition
 
displayName() - Method in record class io.github.kaktushose.jdac.definitions.interactions.ModalDefinition
 

E

EditableConfigurableReply - Class in io.github.kaktushose.jdac.dispatching.reply
Subtype of ConfigurableReply that is used for ComponentInteractions, where you can also edit the original reply instead of sending a new one.
EditableConfigurableReply(InteractionDefinition.ReplyConfig, ComponentInteraction) - Constructor for class io.github.kaktushose.jdac.dispatching.reply.EditableConfigurableReply
Constructs a new ConfigurableReply.
editReply() - Element in annotation interface io.github.kaktushose.jdac.annotations.interactions.ReplyConfig
Whether to edit the original message or to send a new one.
editReply() - Method in record class io.github.kaktushose.jdac.definitions.interactions.InteractionDefinition.ReplyConfig
Returns the value of the editReply record component.
editReply(boolean) - Method in class io.github.kaktushose.jdac.definitions.interactions.InteractionDefinition.ReplyConfig.Builder
Whether to edit the original message or to send a new one.
editReply(boolean) - Method in class io.github.kaktushose.jdac.dispatching.reply.EditableConfigurableReply
Whether to edit the original message or to send a new one.
editReply(boolean) - Method in class io.github.kaktushose.jdac.dispatching.reply.internal.ReplyAction
 
embed(String) - Method in class io.github.kaktushose.jdac.dispatching.events.ReplyableEvent
Gets an Embed based on the given name.
embed(String) - Method in class io.github.kaktushose.jdac.JDACommands
Gets an Embed based on the given name.
Embed - Class in io.github.kaktushose.jdac.embeds
Builder for MessageEmbed that supports placeholders, localization and easier manipulation of MessageEmbed.Fields.
EMBED_CONFIG - Static variable in interface io.github.kaktushose.jdac.property.JDACProperty
 
EMBED_CONFIG_INTERNAL - Static variable in interface io.github.kaktushose.jdac.property.internal.JDACInternalProperties
 
EMBED_SOURCES - Static variable in interface io.github.kaktushose.jdac.property.JDACProperty
 
Embed.Fields - Interface in io.github.kaktushose.jdac.embeds
Methods for manipulating the fields of an Embed.
EmbedConfig - Interface in io.github.kaktushose.jdac.embeds
Builder for configuring the Embed API of JDA-Commands.
EmbedDataSource - Interface in io.github.kaktushose.jdac.embeds
An EmbedDataSource is used to retrieve Embeds based on a unique name from various sources.
embeds(Embed...) - Method in class io.github.kaktushose.jdac.dispatching.reply.MessageReply
Acknowledgement of this event with one or more Embeds.
embeds(String...) - Method in class io.github.kaktushose.jdac.dispatching.reply.MessageReply
Acknowledgement of this event with one or more Embeds.
embeds(String, Entry, Entry...) - Method in class io.github.kaktushose.jdac.dispatching.reply.MessageReply
Acknowledgement of this event with an Embed.
embeds(String, Consumer) - Method in class io.github.kaktushose.jdac.dispatching.reply.MessageReply
Acknowledgement of this event with an Embed.
embeds(Consumer) - Method in class io.github.kaktushose.jdac.JDACBuilder
Configuration step for the Embed API of JDA-Commands.
Embeds - Record Class in io.github.kaktushose.jdac.embeds.internal
Container for immutably holding the embed configuration made by EmbedConfig.
Embeds(Collection, Map, MessageResolver) - Constructor for record class io.github.kaktushose.jdac.embeds.internal.Embeds
Creates an instance of a Embeds record class.
EMBEDS - Static variable in interface io.github.kaktushose.jdac.property.internal.JDACInternalProperties
 
Embeds.Configuration - Class in io.github.kaktushose.jdac.embeds.internal
 
emoji() - Element in annotation interface io.github.kaktushose.jdac.annotations.interactions.Button
Gets the Emoji of the button.
emoji() - Element in annotation interface io.github.kaktushose.jdac.annotations.interactions.MenuOption
Gets the Emoji of an option.
emoji() - Method in record class io.github.kaktushose.jdac.definitions.interactions.component.ButtonDefinition
Returns the value of the emoji record component.
emoji() - Method in record class io.github.kaktushose.jdac.definitions.interactions.component.menu.StringSelectMenuDefinition.MenuOptionDefinition
Returns the value of the emoji record component.
emoji(Emoji) - Method in class io.github.kaktushose.jdac.dispatching.reply.dynamic.ButtonComponent
 
EMOJI_RESOLVER - Static variable in interface io.github.kaktushose.jdac.property.JDACProperty
The EmojiResolver service provided by JDA-Commands.
EMOJI_SOURCES - Static variable in interface io.github.kaktushose.jdac.property.JDACProperty
 
emojiResolver() - Method in class io.github.kaktushose.jdac.guice.internal.guice.modules.ConfigurationScopeModule
 
EmojiResolver - Class in io.github.kaktushose.jdac.message.emoji
The EmojiResolver replaces emoji aliases in strings with their formatted value.
EmojiResolver(Collection) - Constructor for class io.github.kaktushose.jdac.message.emoji.EmojiResolver
Constructs a new instance of EmojiResolver with the given application emojis and all Unicode emojis supported by discord.
emojiSource(EmojiSource...) - Method in class io.github.kaktushose.jdac.JDACBuilder
Application emojis loaded from EmojiSources will be registered upon startup with help of JDA.createApplicationEmoji(String, Icon).
EmojiSource - Interface in io.github.kaktushose.jdac.message.emoji
Emojis loaded from an implementation of EmojiSource are automatically registered upon startup.
enabled() - Method in class io.github.kaktushose.jdac.dispatching.reply.Component
 
enabled(boolean) - Method in class io.github.kaktushose.jdac.dispatching.reply.Component
 
enabled(Class, String, Entry...) - Static method in class io.github.kaktushose.jdac.dispatching.reply.Component
Adds an enabled Component to the reply that is defined in a different class.
enabled(String, Entry...) - Static method in class io.github.kaktushose.jdac.dispatching.reply.Component
Adds an enabled, runtime-bound Component to the reply.
enabledFor() - Element in annotation interface io.github.kaktushose.jdac.annotations.interactions.CommandConfig
Returns an array of Permission this command should be enabled for by default.
enabledPermissions() - Method in record class io.github.kaktushose.jdac.definitions.interactions.command.CommandDefinition.CommandConfig
Returns the value of the enabledPermissions record component.
enabledPermissions(Collection) - Method in class io.github.kaktushose.jdac.definitions.interactions.command.CommandDefinition.CommandConfig.Builder
 
enabledPermissions(Permission...) - Method in class io.github.kaktushose.jdac.definitions.interactions.command.CommandDefinition.CommandConfig.Builder
 
EntityMenu - Annotation Interface in io.github.kaktushose.jdac.annotations.interactions
Methods annotated with EntityMenu will be registered as an EntitySelectMenu at startup.
entitySelect(Class, String, Entry...) - Static method in class io.github.kaktushose.jdac.dispatching.reply.Component
Adds an EntitySelectMenuComponent to the reply.
entitySelect(String, Entry...) - Static method in class io.github.kaktushose.jdac.dispatching.reply.Component
Adds an EntitySelectMenuComponent to the reply.
EntitySelectMenuComponent - Class in io.github.kaktushose.jdac.dispatching.reply.dynamic.menu
An implementation of Component specific to EntitySelectMenu
EntitySelectMenuComponent(String, Class, Entry[]) - Constructor for class io.github.kaktushose.jdac.dispatching.reply.dynamic.menu.EntitySelectMenuComponent
 
EntitySelectMenuDefinition - Record Class in io.github.kaktushose.jdac.definitions.interactions.component.menu
Representation of an entity select menu.
EntitySelectMenuDefinition(ClassDescription, MethodDescription, Collection, Set, Set, Set, String, int, int, Integer) - Constructor for record class io.github.kaktushose.jdac.definitions.interactions.component.menu.EntitySelectMenuDefinition
Creates an instance of a EntitySelectMenuDefinition record class.
entityTypes(Set) - Method in class io.github.kaktushose.jdac.dispatching.reply.dynamic.menu.EntitySelectMenuComponent
 
entityTypes(EntitySelectMenu.SelectTarget...) - Method in class io.github.kaktushose.jdac.dispatching.reply.dynamic.menu.EntitySelectMenuComponent
 
entry(String, Object) - Static method in record class io.github.kaktushose.jdac.message.placeholder.Entry
This method returns an Entry containing the name and value provided.
Entry - Record Class in io.github.kaktushose.jdac.message.placeholder
A placeholder identified by its name with the value to be substituted.
Entry(String, Object) - Constructor for record class io.github.kaktushose.jdac.message.placeholder.Entry
Creates an instance of a Entry record class.
ephemeral() - Element in annotation interface io.github.kaktushose.jdac.annotations.interactions.ReplyConfig
Whether to send ephemeral replies.
ephemeral() - Method in record class io.github.kaktushose.jdac.definitions.interactions.InteractionDefinition.ReplyConfig
Returns the value of the ephemeral record component.
ephemeral(boolean) - Method in class io.github.kaktushose.jdac.definitions.interactions.InteractionDefinition.ReplyConfig.Builder
Whether to send ephemeral replies.
ephemeral(boolean) - Method in class io.github.kaktushose.jdac.dispatching.reply.ConfigurableReply
Whether to send ephemeral replies.
ephemeral(boolean) - Method in class io.github.kaktushose.jdac.dispatching.reply.internal.ReplyAction
 
equals(Object) - Method in record class io.github.kaktushose.jdac.definitions.description.AnnotationDescription
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.kaktushose.jdac.definitions.description.ClassDescription
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.kaktushose.jdac.definitions.description.MethodDescription
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.kaktushose.jdac.definitions.description.PackageDescription
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.kaktushose.jdac.definitions.description.ParameterDescription
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.kaktushose.jdac.definitions.interactions.AutoCompleteDefinition.AutoCompleteRule
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.kaktushose.jdac.definitions.interactions.AutoCompleteDefinition
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.kaktushose.jdac.definitions.interactions.command.CommandDefinition.CommandConfig
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.kaktushose.jdac.definitions.interactions.command.ContextCommandDefinition
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.kaktushose.jdac.definitions.interactions.command.OptionDataDefinition.ConstraintDefinition
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.kaktushose.jdac.definitions.interactions.command.OptionDataDefinition
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.kaktushose.jdac.definitions.interactions.command.SlashCommandDefinition
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.kaktushose.jdac.definitions.interactions.component.ButtonDefinition
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.kaktushose.jdac.definitions.interactions.component.menu.EntitySelectMenuDefinition
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.kaktushose.jdac.definitions.interactions.component.menu.StringSelectMenuDefinition
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.kaktushose.jdac.definitions.interactions.component.menu.StringSelectMenuDefinition.MenuOptionDefinition
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.kaktushose.jdac.definitions.interactions.CustomId
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.kaktushose.jdac.definitions.interactions.InteractionDefinition.ReplyConfig
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.kaktushose.jdac.definitions.interactions.InteractionRegistry
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.kaktushose.jdac.definitions.interactions.MethodBuildContext
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.kaktushose.jdac.definitions.interactions.ModalDefinition
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.kaktushose.jdac.dispatching.adapter.AdapterType
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.kaktushose.jdac.dispatching.context.InvocationContext
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.kaktushose.jdac.dispatching.expiration.ExpirationStrategy.Explicit
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.kaktushose.jdac.dispatching.expiration.ExpirationStrategy.Inactivity
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.kaktushose.jdac.dispatching.handling.EventHandler.PreparationResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.kaktushose.jdac.dispatching.validation.internal.Validators.Result.DiscordHandled
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.kaktushose.jdac.dispatching.validation.internal.Validators.Result.NotFound
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.kaktushose.jdac.dispatching.validation.internal.Validators.Result.Success
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.kaktushose.jdac.dispatching.validation.internal.Validators.Result.UnsupportedType
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.kaktushose.jdac.embeds.internal.Embeds
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.kaktushose.jdac.guice.GuiceExtensionData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.kaktushose.jdac.internal.register.CommandTree
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.kaktushose.jdac.internal.register.TreeNode
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.kaktushose.jdac.message.placeholder.Entry
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.kaktushose.jdac.property.events.FrameworkShutdownEvent
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.kaktushose.jdac.property.events.FrameworkStartEvent
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.kaktushose.jdac.property.events.InteractionFinishedEvent
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.kaktushose.jdac.property.events.InteractionStartEvent
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.kaktushose.jdac.property.events.RuntimeCloseEvent
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.kaktushose.jdac.property.events.RuntimeOpenEvent
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.kaktushose.jdac.property.extension.ExtensionException.Information
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.kaktushose.jdac.property.extension.ExtensionFilter
Indicates whether some other object is "equal to" this one.
ERROR_MESSAGE_FACTORY - Static variable in interface io.github.kaktushose.jdac.property.JDACProperty
 
errorContext(GenericInteractionCreateEvent, InteractionDefinition) - Static method in class io.github.kaktushose.jdac.internal.Helpers
 
errorMessage(String) - Static method in exception class io.github.kaktushose.jdac.exceptions.internal.JDACException
Retrieves an error message from the error bundle.
errorMessage(String, Entry...) - Static method in exception class io.github.kaktushose.jdac.exceptions.internal.JDACException
Retrieves an error message from the error bundle and inserts the placeholders.
errorMessageFactory - Variable in class io.github.kaktushose.jdac.dispatching.handling.EventHandler
 
errorMessageFactory(ErrorMessageFactory) - Method in class io.github.kaktushose.jdac.JDACBuilder
 
ErrorMessageFactory - Interface in io.github.kaktushose.jdac.embeds.error
Generic interface for factory classes that provide a MessageTopLevelComponent that should be sent for common errors that happen during an interaction execution, such as missing permissions or failing constraints.
ErrorMessageFactory.ErrorContext - Interface in io.github.kaktushose.jdac.embeds.error
Holds the respective GenericInteractionCreateEvent and InteractionDefinition of an error.
errorMessages - Static variable in exception class io.github.kaktushose.jdac.exceptions.internal.JDACException
 
event() - Method in record class io.github.kaktushose.jdac.dispatching.context.InvocationContext
Returns the value of the event record component.
event() - Method in interface io.github.kaktushose.jdac.embeds.error.ErrorMessageFactory.ErrorContext
The GenericInteractionCreateEvent in whose execution the error occurred.
Event<T> - Class in io.github.kaktushose.jdac.dispatching.events
Abstract base event for all interaction events, like CommandEvent.
Event - Annotation Interface in io.github.kaktushose.jdac.property.internal
 
Event() - Constructor for class io.github.kaktushose.jdac.dispatching.events.Event
 
EventHandler<T> - Class in io.github.kaktushose.jdac.dispatching.handling
Implementations of this class are handling specific GenericInteractionCreateEvents.
EventHandler(JDACIntrospectionImpl) - Constructor for class io.github.kaktushose.jdac.dispatching.handling.EventHandler
 
EventHandler.PreparationResult - Record Class in io.github.kaktushose.jdac.dispatching.handling
 
exception() - Method in record class io.github.kaktushose.jdac.property.events.InteractionFinishedEvent
Returns the value of the exception record component.
EXCLUDE - Enum constant in enum class io.github.kaktushose.jdac.property.extension.ExtensionFilter.FilterStrategy
excludes the defined classes
exists(String) - Method in record class io.github.kaktushose.jdac.embeds.internal.Embeds
Checks whether an Embed with the given name exists in one of the Embeds.sources().
EXPIRATION_STRATEGY - Static variable in interface io.github.kaktushose.jdac.property.JDACProperty
 
expirationStrategy(ExpirationStrategy) - Method in class io.github.kaktushose.jdac.JDACBuilder
 
ExpirationStrategy - Interface in io.github.kaktushose.jdac.dispatching.expiration
Classes implementing ExpirationStrategy define a strategy when a Runtime should be closed.
ExpirationStrategy.Explicit - Record Class in io.github.kaktushose.jdac.dispatching.expiration
ExpirationStrategy that closes a Runtime only when Event.closeRuntime() has been called.
ExpirationStrategy.Inactivity - Record Class in io.github.kaktushose.jdac.dispatching.expiration
ExpirationStrategy that closes a Runtime after the passed amount of time.
explicit(Class...) - Static method in interface io.github.kaktushose.jdac.definitions.description.ClassFinder
This provides an array backed implementation of ClassFinder that just returns the explicitly stated classes.
Explicit() - Constructor for record class io.github.kaktushose.jdac.dispatching.expiration.ExpirationStrategy.Explicit
Creates an instance of a Explicit record class.
EXPLICIT - Static variable in interface io.github.kaktushose.jdac.dispatching.expiration.ExpirationStrategy
Extension<T> - Interface in io.github.kaktushose.jdac.property.extension

Extensions

Implementations of this interface, that are registered by Javas service provider interface, will be called in JDACBuilder to configure the framework.

EXTENSION - Static variable in interface io.github.kaktushose.jdac.property.JDACProperty
A collection consisting of all Propertys that are settable by the user and loadable through extensions
EXTENSION_DATA - Static variable in interface io.github.kaktushose.jdac.property.JDACProperty
 
EXTENSION_FILTER - Static variable in interface io.github.kaktushose.jdac.property.JDACProperty
 
Extension.Data - Interface in io.github.kaktushose.jdac.property.extension
Implementations of this interface are providing additional configuration to implementations of Extension.
extensionData(Extension.Data...) - Method in class io.github.kaktushose.jdac.JDACBuilder
Registers Extension.Data that will be passed to the respective Extensions to configure them properly.
ExtensionException - Exception Class in io.github.kaktushose.jdac.property.extension
A sub exception of ConfigurationException that can be implemented by users of the library for throwing own exceptions during the initialization of Extensions or in PropertyProviderSkeleton.supplier().
ExtensionException(ExtensionException.Information, String) - Constructor for exception class io.github.kaktushose.jdac.property.extension.ExtensionException
 
ExtensionException(ExtensionException.Information, String, Entry...) - Constructor for exception class io.github.kaktushose.jdac.property.extension.ExtensionException
 
ExtensionException(ExtensionException.Information, String, Throwable) - Constructor for exception class io.github.kaktushose.jdac.property.extension.ExtensionException
 
ExtensionException(ExtensionException.Information, String, Throwable, Entry...) - Constructor for exception class io.github.kaktushose.jdac.property.extension.ExtensionException
 
ExtensionException.Information - Record Class in io.github.kaktushose.jdac.property.extension
The information object holding information like the Bundle name to use.
ExtensionFilter - Record Class in io.github.kaktushose.jdac.property.extension
A Predicate to test whether an Extension should be loaded or not.
ExtensionFilter(ExtensionFilter.FilterStrategy, Collection) - Constructor for record class io.github.kaktushose.jdac.property.extension.ExtensionFilter
Creates an instance of a ExtensionFilter record class.
ExtensionFilter.FilterStrategy - Enum Class in io.github.kaktushose.jdac.property.extension
The two available filter strategies
Extensions - Class in io.github.kaktushose.jdac.property.internal.extension
 
Extensions() - Constructor for class io.github.kaktushose.jdac.property.internal.extension.Extensions
 

F

fail(String, Entry...) - Method in class io.github.kaktushose.jdac.dispatching.validation.Validator.Context
Used to fail a validation and cancel the InvocationContext
failMessage(String, Entry...) - Method in class io.github.kaktushose.jdac.dispatching.validation.Validator.Context
This method returns a formatted, optionally resolved (and localized), error message based on ErrorMessageFactory.getConstraintFailedMessage(ErrorMessageFactory.ErrorContext, String).
fallbackToString(boolean) - Method in class io.github.kaktushose.jdac.message.i18n.FluavaLocalizer.Builder
Whether to use Object.toString() if no fluent function was found to format a placeholder.
fields() - Method in class io.github.kaktushose.jdac.embeds.Embed
Used to modify the fields of this embed.
file(Path) - Static method in interface io.github.kaktushose.jdac.embeds.EmbedDataSource
Constructs a new EmbedDataSource using a Path pointing to a JSON file as its source.
filterExtensions(ExtensionFilter.FilterStrategy, String...) - Method in class io.github.kaktushose.jdac.JDACBuilder
Specifies a way to filter found implementations of Extension if you have clashing or cycling dependencies for example.
filterStrategy() - Method in record class io.github.kaktushose.jdac.property.extension.ExtensionFilter
Returns the value of the filterStrategy record component.
find(Class) - Method in interface io.github.kaktushose.jdac.property.Definitions
Gets all registered InteractionDefinitions matching the passed type
find(Class, boolean, Predicate) - Method in record class io.github.kaktushose.jdac.definitions.interactions.InteractionRegistry
Attempts to find a Definition of type T based on the given Predicate.
find(Class, Predicate) - Method in record class io.github.kaktushose.jdac.definitions.interactions.InteractionRegistry
Attempts to find all Definitions of type T based on the given Predicate.
find(Class, Predicate) - Method in interface io.github.kaktushose.jdac.property.Definitions
Gets a subset of all registered InteractionDefinition filtered by their type and the passed Predicate.
findAnnotation(Class) - Method in interface io.github.kaktushose.jdac.definitions.description.Description
Gets the Annotation of this element for the specified type if such an annotation is present
findBundle() - Method in class io.github.kaktushose.jdac.message.i18n.internal.BundleFinder
 
findEmbed(String) - Method in class io.github.kaktushose.jdac.dispatching.events.ReplyableEvent
Gets an Embed based on the given name and wraps it in an Optional.
findEmbed(String) - Method in class io.github.kaktushose.jdac.JDACommands
Gets an Embed based on the given name and wraps it in an Optional.
findFirst(Class, Predicate) - Method in record class io.github.kaktushose.jdac.definitions.interactions.InteractionRegistry
 
findFirst(Class, Predicate) - Method in interface io.github.kaktushose.jdac.property.Definitions
Gets the first InteractionDefinition with the given type that match the passed Predicate
findMethod(String, Class...) - Method in record class io.github.kaktushose.jdac.definitions.description.ClassDescription
Gets a method that matches the given name and parameter types if found.
findMethod(String, List) - Method in record class io.github.kaktushose.jdac.definitions.description.ClassDescription
Gets a method that matches the given name and parameter types if found.
findMethods(String) - Method in record class io.github.kaktushose.jdac.definitions.description.ClassDescription
Gets methods that matches the given name.
findParameter(String) - Method in record class io.github.kaktushose.jdac.definitions.description.MethodDescription
Gets the parameter matching the given name if any.
FluavaLocalizer - Class in io.github.kaktushose.jdac.message.i18n
The default variant of Localizer which implements it with help of the amazing java implementation of project fluent.
FluavaLocalizer.Builder - Class in io.github.kaktushose.jdac.message.i18n
A builder allowing the customization of FluavaLocalizer
footer(String) - Method in class io.github.kaktushose.jdac.embeds.Embed
Sets the Footer of the embed.
footer(String, String) - Method in class io.github.kaktushose.jdac.embeds.Embed
Sets the Footer of the embed.
forAllOrdered(Consumer) - Method in class io.github.kaktushose.jdac.dispatching.middleware.internal.Middlewares
Executed the given task for all registered Middlewares ordered by their Priority
format(LogRecord) - Method in class io.github.kaktushose.jdac.internal.logging.CustomFormatter
 
forOrdered(Class, Consumer) - Method in class io.github.kaktushose.jdac.dispatching.middleware.internal.Middlewares
Executed the given task registered Middlewares that should run for this interaction controller ordered by their Priority.
FrameworkShutdownEvent - Record Class in io.github.kaktushose.jdac.property.events
Published when the framework is shutdown, practically at the start of JDACommands.shutdown().
FrameworkShutdownEvent() - Constructor for record class io.github.kaktushose.jdac.property.events.FrameworkShutdownEvent
Creates an instance of a FrameworkShutdownEvent record class.
FrameworkStartEvent - Record Class in io.github.kaktushose.jdac.property.events
Published when the framework is fully started, practically at the end of JDACBuilder.start().
FrameworkStartEvent() - Constructor for record class io.github.kaktushose.jdac.property.events.FrameworkStartEvent
Creates an instance of a FrameworkStartEvent record class.
from(S, Mapper.MappingContext) - Method in interface io.github.kaktushose.jdac.dispatching.adapter.TypeAdapter
fromIcon(String, Icon) - Static method in interface io.github.kaktushose.jdac.message.emoji.EmojiSource
Loads an emoji from a given Icon instance, allowing interop with JDAs system
fromMerged(String) - Static method in record class io.github.kaktushose.jdac.definitions.interactions.CustomId
Constructs a new CustomId from the given String.
fromUrl(String, URL) - Static method in interface io.github.kaktushose.jdac.message.emoji.EmojiSource
Loads an emoji from a given URL.

G

genericReturnType() - Method in record class io.github.kaktushose.jdac.definitions.description.MethodDescription
Returns the value of the genericReturnType record component.
get() - Method in interface io.github.kaktushose.jdac.message.emoji.EmojiSource
This method is called during startup to load the to be registered application emojis.
get(AnnotationDescription, Class) - Method in class io.github.kaktushose.jdac.dispatching.validation.internal.Validators
Gets a Validator based on the annotation and the type to validate.
get(JDACProperty) - Method in class io.github.kaktushose.jdac.property.internal.JDACIntrospectionImpl
 
get(JDACProperty) - Method in interface io.github.kaktushose.jdac.property.JDACIntrospection
Returns the value for the requested property by either retrieving it from the cache or computing it according to the class' documentation.
get(String) - Method in record class io.github.kaktushose.jdac.embeds.internal.Embeds
Gets an Embed based on the given name.
get(String, Class) - Method in class io.github.kaktushose.jdac.dispatching.context.KeyValueStore
Gets a value.
get(String, Locale) - Method in record class io.github.kaktushose.jdac.embeds.internal.Embeds
Gets an Embed based on the given name and sets the Locale.
get(String, Map, MessageResolver) - Method in interface io.github.kaktushose.jdac.embeds.EmbedDataSource
Retrieves an Embed based on the given name.
getButton(Class, String) - Method in class io.github.kaktushose.jdac.dispatching.events.ReplyableEvent
Gets a Button based on the method name and the given class and transforms it into a JDA Button.
getButton(Class, String) - Method in class io.github.kaktushose.jdac.JDACommands
Gets a Button based on the method name and the given class and transforms it into a JDA Button.
getButton(String) - Method in class io.github.kaktushose.jdac.dispatching.events.ReplyableEvent
Gets a Button based on the method name and transforms it into a JDA Button.
getChannel() - Method in class io.github.kaktushose.jdac.dispatching.events.Event
 
getChannelIdLong() - Method in class io.github.kaktushose.jdac.dispatching.events.Event
 
getChild(String) - Method in record class io.github.kaktushose.jdac.internal.register.TreeNode
Gets a child TreeNode based on its name.
getConstraintFailedMessage(ErrorMessageFactory.ErrorContext, String) - Method in class io.github.kaktushose.jdac.embeds.error.DefaultErrorMessageFactory
Gets a MessageTopLevelComponent to send when a parameter constraint fails.
getConstraintFailedMessage(ErrorMessageFactory.ErrorContext, String) - Method in interface io.github.kaktushose.jdac.embeds.error.ErrorMessageFactory
Gets a MessageTopLevelComponent to send when a parameter constraint fails.
getContext() - Method in class io.github.kaktushose.jdac.dispatching.events.Event
 
getEntitlements() - Method in class io.github.kaktushose.jdac.dispatching.events.Event
 
getGuild() - Method in class io.github.kaktushose.jdac.dispatching.events.Event
 
getGuildCache() - Method in class io.github.kaktushose.jdac.internal.JDAContext
SnowflakeCacheView of all cached Guilds.
getIdLong() - Method in class io.github.kaktushose.jdac.dispatching.events.Event
 
getInsufficientPermissionsMessage(ErrorMessageFactory.ErrorContext) - Method in class io.github.kaktushose.jdac.embeds.error.DefaultErrorMessageFactory
Gets a MessageTopLevelComponent to send when a user is missing permissions.
getInsufficientPermissionsMessage(ErrorMessageFactory.ErrorContext) - Method in interface io.github.kaktushose.jdac.embeds.error.ErrorMessageFactory
Gets a MessageTopLevelComponent to send when a user is missing permissions.
getIntegrationOwners() - Method in class io.github.kaktushose.jdac.dispatching.events.Event
 
getInteractionExecutionFailedMessage(ErrorMessageFactory.ErrorContext, Throwable) - Method in class io.github.kaktushose.jdac.embeds.error.DefaultErrorMessageFactory
Gets a MessageTopLevelComponent to send when the command execution failed.
getInteractionExecutionFailedMessage(ErrorMessageFactory.ErrorContext, Throwable) - Method in interface io.github.kaktushose.jdac.embeds.error.ErrorMessageFactory
Gets a MessageTopLevelComponent to send when the command execution failed.
getJDA() - Method in class io.github.kaktushose.jdac.dispatching.events.Event
 
getLogger(Class) - Static method in class io.github.kaktushose.jdac.internal.logging.JDACLogger
 
getMember() - Method in class io.github.kaktushose.jdac.dispatching.events.Event
 
getMessage() - Method in exception class io.github.kaktushose.jdac.exceptions.ConfigurationException
 
getMessage() - Method in exception class io.github.kaktushose.jdac.exceptions.internal.JDACException
 
getMessage() - Method in exception class io.github.kaktushose.jdac.exceptions.InternalException
 
getMessage() - Method in exception class io.github.kaktushose.jdac.exceptions.InvalidDeclarationException
 
getName() - Method in class io.github.kaktushose.jdac.dispatching.events.interactions.AutoCompleteEvent
The name of the input field, usually an option name in CommandAutoCompleteInteraction.
getOptionType() - Method in class io.github.kaktushose.jdac.dispatching.events.interactions.AutoCompleteEvent
The expected option type for this query.
getScoped() - Method in class io.github.kaktushose.jdac.property.internal.JDACEnumerationProperty
 
getScoped() - Method in class io.github.kaktushose.jdac.property.internal.JDACMappingProperty
 
getScoped() - Method in class io.github.kaktushose.jdac.property.internal.JDACSingletonProperty
 
getSelectMenu(Class, String) - Method in class io.github.kaktushose.jdac.dispatching.events.ReplyableEvent
Gets a StringMenu or EntityMenu based on the method name and transforms it into a JDA SelectMenu.
getSelectMenu(Class, String) - Method in class io.github.kaktushose.jdac.JDACommands
Gets a StringMenu or EntityMenu based on the method name and the given class and transforms it into a JDA SelectMenu.
getSelectMenu(String) - Method in class io.github.kaktushose.jdac.dispatching.events.ReplyableEvent
Gets a StringMenu or EntityMenu based on the method name and transforms it into a JDA SelectMenu.
getSlashCommandData(LocalizationFunction) - Method in record class io.github.kaktushose.jdac.internal.register.CommandTree
Transforms this CommandTree to SlashCommandData based on the tree structure.
getTimedOutComponentMessage(GenericInteractionCreateEvent) - Method in class io.github.kaktushose.jdac.embeds.error.DefaultErrorMessageFactory
Gets a MessageTopLevelComponent to send when an incoming component interaction already timed out.
getTimedOutComponentMessage(GenericInteractionCreateEvent) - Method in interface io.github.kaktushose.jdac.embeds.error.ErrorMessageFactory
Gets a MessageTopLevelComponent to send when an incoming component interaction already timed out.
getToken() - Method in class io.github.kaktushose.jdac.dispatching.events.Event
 
getType() - Method in class io.github.kaktushose.jdac.dispatching.reply.dynamic.ButtonComponent
 
getType() - Method in class io.github.kaktushose.jdac.dispatching.reply.dynamic.internal.UnspecificComponent
 
getType() - Method in class io.github.kaktushose.jdac.dispatching.reply.dynamic.menu.EntitySelectMenuComponent
 
getType() - Method in class io.github.kaktushose.jdac.dispatching.reply.dynamic.menu.StringSelectComponent
 
getTypeAdaptingFailedMessage(ErrorMessageFactory.ErrorContext, ConversionResult.Failure) - Method in class io.github.kaktushose.jdac.embeds.error.DefaultErrorMessageFactory
Gets a MessageTopLevelComponent to send when type adapting of the user input failed.
getTypeAdaptingFailedMessage(ErrorMessageFactory.ErrorContext, ConversionResult.Failure) - Method in interface io.github.kaktushose.jdac.embeds.error.ErrorMessageFactory
Gets a MessageTopLevelComponent to send when type adapting of the user input failed.
getTypeRaw() - Method in class io.github.kaktushose.jdac.dispatching.events.Event
 
getUniqueId() - Method in class io.github.kaktushose.jdac.dispatching.reply.Component
 
getUser() - Method in class io.github.kaktushose.jdac.dispatching.events.Event
 
getUserLocale() - Method in class io.github.kaktushose.jdac.dispatching.events.Event
 
getValue() - Method in class io.github.kaktushose.jdac.dispatching.events.interactions.AutoCompleteEvent
The query value that the user is currently typing.
GLOBAL - Enum constant in enum class io.github.kaktushose.jdac.annotations.interactions.CommandScope
 
GLOBAL_COMMAND_CONFIG - Static variable in interface io.github.kaktushose.jdac.property.JDACProperty
 
GLOBAL_REPLY_CONFIG - Static variable in interface io.github.kaktushose.jdac.property.JDACProperty
 
globalCommandConfig() - Method in record class io.github.kaktushose.jdac.definitions.interactions.MethodBuildContext
Returns the value of the globalCommandConfig record component.
globalCommandConfig(CommandDefinition.CommandConfig) - Method in class io.github.kaktushose.jdac.JDACBuilder
 
globalReplyConfig(InteractionDefinition.ReplyConfig) - Method in class io.github.kaktushose.jdac.JDACBuilder
 
GuiceException - Exception Class in io.github.kaktushose.jdac.guice.internal
 
GuiceException(String, Entry...) - Constructor for exception class io.github.kaktushose.jdac.guice.internal.GuiceException
 
GuiceExtension - Class in io.github.kaktushose.jdac.guice.internal
The implementation of Extension for using Googles Guice as an Instantiator.
GuiceExtension() - Constructor for class io.github.kaktushose.jdac.guice.internal.GuiceExtension
 
GuiceExtensionData - Record Class in io.github.kaktushose.jdac.guice
Custom Extension.Data to be used to configure this extension.
GuiceExtensionData(Injector) - Constructor for record class io.github.kaktushose.jdac.guice.GuiceExtensionData
Creates an instance of a GuiceExtensionData record class.
GuiceExtensionModule - Class in io.github.kaktushose.jdac.guice.internal.guice
 
GuiceExtensionModule() - Constructor for class io.github.kaktushose.jdac.guice.internal.guice.GuiceExtensionModule
 
GuiceInstantiator - Class in io.github.kaktushose.jdac.guice.internal
 
GuiceInstantiator(RuntimeBoundScope, Injector) - Constructor for class io.github.kaktushose.jdac.guice.internal.GuiceInstantiator
 
GUILD - Enum constant in enum class io.github.kaktushose.jdac.annotations.interactions.CommandScope
 
GUILD_SCOPE_PROVIDER - Static variable in interface io.github.kaktushose.jdac.property.JDACProperty
 
guildScopeProvider(GuildScopeProvider) - Method in class io.github.kaktushose.jdac.JDACBuilder
 
GuildScopeProvider - Interface in io.github.kaktushose.jdac.scope
Interface for declaring on which Guilds a guild scoped command should be registered.

H

hasAnnotation(Class) - Method in interface io.github.kaktushose.jdac.definitions.description.Description
Checks whether this element has an Annotation of the specified type.
hashCode() - Method in record class io.github.kaktushose.jdac.definitions.description.AnnotationDescription
Returns a hash code value for this object.
hashCode() - Method in record class io.github.kaktushose.jdac.definitions.description.ClassDescription
Returns a hash code value for this object.
hashCode() - Method in record class io.github.kaktushose.jdac.definitions.description.MethodDescription
Returns a hash code value for this object.
hashCode() - Method in record class io.github.kaktushose.jdac.definitions.description.PackageDescription
Returns a hash code value for this object.
hashCode() - Method in record class io.github.kaktushose.jdac.definitions.description.ParameterDescription
Returns a hash code value for this object.
hashCode() - Method in record class io.github.kaktushose.jdac.definitions.interactions.AutoCompleteDefinition.AutoCompleteRule
Returns a hash code value for this object.
hashCode() - Method in record class io.github.kaktushose.jdac.definitions.interactions.AutoCompleteDefinition
Returns a hash code value for this object.
hashCode() - Method in record class io.github.kaktushose.jdac.definitions.interactions.command.CommandDefinition.CommandConfig
Returns a hash code value for this object.
hashCode() - Method in record class io.github.kaktushose.jdac.definitions.interactions.command.ContextCommandDefinition
Returns a hash code value for this object.
hashCode() - Method in record class io.github.kaktushose.jdac.definitions.interactions.command.OptionDataDefinition.ConstraintDefinition
Returns a hash code value for this object.
hashCode() - Method in record class io.github.kaktushose.jdac.definitions.interactions.command.OptionDataDefinition
Returns a hash code value for this object.
hashCode() - Method in record class io.github.kaktushose.jdac.definitions.interactions.command.SlashCommandDefinition
Returns a hash code value for this object.
hashCode() - Method in record class io.github.kaktushose.jdac.definitions.interactions.component.ButtonDefinition
Returns a hash code value for this object.
hashCode() - Method in record class io.github.kaktushose.jdac.definitions.interactions.component.menu.EntitySelectMenuDefinition
Returns a hash code value for this object.
hashCode() - Method in record class io.github.kaktushose.jdac.definitions.interactions.component.menu.StringSelectMenuDefinition
Returns a hash code value for this object.
hashCode() - Method in record class io.github.kaktushose.jdac.definitions.interactions.component.menu.StringSelectMenuDefinition.MenuOptionDefinition
Returns a hash code value for this object.
hashCode() - Method in record class io.github.kaktushose.jdac.definitions.interactions.CustomId
Returns a hash code value for this object.
hashCode() - Method in record class io.github.kaktushose.jdac.definitions.interactions.InteractionDefinition.ReplyConfig
Returns a hash code value for this object.
hashCode() - Method in record class io.github.kaktushose.jdac.definitions.interactions.InteractionRegistry
Returns a hash code value for this object.
hashCode() - Method in record class io.github.kaktushose.jdac.definitions.interactions.MethodBuildContext
Returns a hash code value for this object.
hashCode() - Method in record class io.github.kaktushose.jdac.definitions.interactions.ModalDefinition
Returns a hash code value for this object.
hashCode() - Method in record class io.github.kaktushose.jdac.dispatching.adapter.AdapterType
Returns a hash code value for this object.
hashCode() - Method in record class io.github.kaktushose.jdac.dispatching.context.InvocationContext
Returns a hash code value for this object.
hashCode() - Method in record class io.github.kaktushose.jdac.dispatching.expiration.ExpirationStrategy.Explicit
Returns a hash code value for this object.
hashCode() - Method in record class io.github.kaktushose.jdac.dispatching.expiration.ExpirationStrategy.Inactivity
Returns a hash code value for this object.
hashCode() - Method in record class io.github.kaktushose.jdac.dispatching.handling.EventHandler.PreparationResult
Returns a hash code value for this object.
hashCode() - Method in record class io.github.kaktushose.jdac.dispatching.validation.internal.Validators.Result.DiscordHandled
Returns a hash code value for this object.
hashCode() - Method in record class io.github.kaktushose.jdac.dispatching.validation.internal.Validators.Result.NotFound
Returns a hash code value for this object.
hashCode() - Method in record class io.github.kaktushose.jdac.dispatching.validation.internal.Validators.Result.Success
Returns a hash code value for this object.
hashCode() - Method in record class io.github.kaktushose.jdac.dispatching.validation.internal.Validators.Result.UnsupportedType
Returns a hash code value for this object.
hashCode() - Method in record class io.github.kaktushose.jdac.embeds.internal.Embeds
Returns a hash code value for this object.
hashCode() - Method in record class io.github.kaktushose.jdac.guice.GuiceExtensionData
Returns a hash code value for this object.
hashCode() - Method in record class io.github.kaktushose.jdac.internal.register.CommandTree
Returns a hash code value for this object.
hashCode() - Method in record class io.github.kaktushose.jdac.internal.register.TreeNode
Returns a hash code value for this object.
hashCode() - Method in record class io.github.kaktushose.jdac.message.placeholder.Entry
Returns a hash code value for this object.
hashCode() - Method in record class io.github.kaktushose.jdac.property.events.FrameworkShutdownEvent
Returns a hash code value for this object.
hashCode() - Method in record class io.github.kaktushose.jdac.property.events.FrameworkStartEvent
Returns a hash code value for this object.
hashCode() - Method in record class io.github.kaktushose.jdac.property.events.InteractionFinishedEvent
Returns a hash code value for this object.
hashCode() - Method in record class io.github.kaktushose.jdac.property.events.InteractionStartEvent
Returns a hash code value for this object.
hashCode() - Method in record class io.github.kaktushose.jdac.property.events.RuntimeCloseEvent
Returns a hash code value for this object.
hashCode() - Method in record class io.github.kaktushose.jdac.property.events.RuntimeOpenEvent
Returns a hash code value for this object.
hashCode() - Method in record class io.github.kaktushose.jdac.property.extension.ExtensionException.Information
Returns a hash code value for this object.
hashCode() - Method in record class io.github.kaktushose.jdac.property.extension.ExtensionFilter
Returns a hash code value for this object.
hasPermission(Member, InvocationContext) - Method in class io.github.kaktushose.jdac.permissions.DefaultPermissionsProvider
Checks against the default Discord permissions.
hasPermission(Member, InvocationContext) - Method in interface io.github.kaktushose.jdac.permissions.PermissionsProvider
Checks if a Member has permissions.
hasPermission(User, InvocationContext) - Method in class io.github.kaktushose.jdac.permissions.DefaultPermissionsProvider
Doesn't perform checks and will always return true.
hasPermission(User, InvocationContext) - Method in interface io.github.kaktushose.jdac.permissions.PermissionsProvider
Checks if a User has permissions.
Helpers - Class in io.github.kaktushose.jdac.internal
Collection of helper methods that are used inside the framework.
Helpers() - Constructor for class io.github.kaktushose.jdac.internal.Helpers
 
HIGH - Enum constant in enum class io.github.kaktushose.jdac.dispatching.middleware.Priority
Highest priority for custom implementation, will be executed right after internal middlewares.
HIGHEST - Enum constant in enum class io.github.kaktushose.jdac.dispatching.middleware.Priority
Middlewares with priority PERMISSIONS will always be executed first
humanReadableType(OptionMapping) - Static method in class io.github.kaktushose.jdac.internal.Helpers
Gets the human-readable representation of an OptionMapping.

I

i18n() - Method in class io.github.kaktushose.jdac.guice.internal.guice.modules.ConfigurationScopeModule
 
I18n - Class in io.github.kaktushose.jdac.message.i18n
This class serves as an interface for application localization.
I18n(BundleFinder, Localizer) - Constructor for class io.github.kaktushose.jdac.message.i18n.I18n
 
I18N - Static variable in interface io.github.kaktushose.jdac.property.JDACProperty
The I18n service provided by JDA-Commands.
id() - Method in class io.github.kaktushose.jdac.dispatching.Runtime
 
id() - Method in record class io.github.kaktushose.jdac.property.events.RuntimeOpenEvent
Returns the value of the id record component.
image(String) - Method in class io.github.kaktushose.jdac.embeds.Embed
Sets the Image of the embed.
Implementation - Annotation Interface in io.github.kaktushose.jdac.guice
Indicates that the annotated class is a custom implementation that should replace the default implementation.
Implementation.Middleware - Annotation Interface in io.github.kaktushose.jdac.guice
A class annotated with Implementation.Middleware will be automatically searched for and instantiated as a Middleware by guice.
Implementation.TypeAdapter - Annotation Interface in io.github.kaktushose.jdac.guice
A class annotated with Implementation.TypeAdapter will be automatically searched for and instantiated as a TypeAdapter by guice.
Implementation.Validator - Annotation Interface in io.github.kaktushose.jdac.guice
A class annotated with Implementation.Validator will be automatically searched for and instantiated as a Validator by guice.
Inactivity(long) - Constructor for record class io.github.kaktushose.jdac.dispatching.expiration.ExpirationStrategy.Inactivity
Creates an instance of a Inactivity record class.
INCLUDE - Enum constant in enum class io.github.kaktushose.jdac.property.extension.ExtensionFilter.FilterStrategy
includes the defined classes
independent() - Method in class io.github.kaktushose.jdac.dispatching.reply.Component
 
independent(boolean) - Method in class io.github.kaktushose.jdac.dispatching.reply.Component
 
independent(String) - Static method in record class io.github.kaktushose.jdac.definitions.interactions.CustomId
Constructs a new runtime-independent CustomId from the given definition id.
independent(String, Entry...) - Static method in class io.github.kaktushose.jdac.dispatching.reply.Component
Adds an enabled, runtime-independent Component to the reply.
INDEPENDENT_CUSTOM_ID_REGEX - Static variable in record class io.github.kaktushose.jdac.definitions.interactions.CustomId
 
index(Iterable, CommandDefinition.CommandConfig) - Method in record class io.github.kaktushose.jdac.definitions.interactions.InteractionRegistry
Scans all given classes and registers the interactions defined in them.
information() - Method in exception class io.github.kaktushose.jdac.property.extension.ExtensionException
 
Information(String) - Constructor for record class io.github.kaktushose.jdac.property.extension.ExtensionException.Information
Creates an instance of a Information record class.
init(T) - Method in interface io.github.kaktushose.jdac.property.extension.Extension
Initializes the Extension with the provided Extension.Data.
init(GuiceExtensionData) - Method in class io.github.kaktushose.jdac.guice.internal.GuiceExtension
 
INITIALIZED - Enum constant in enum class io.github.kaktushose.jdac.property.JDACScope
 
InitializedScopeModule - Class in io.github.kaktushose.jdac.guice.internal.guice.modules
 
InitializedScopeModule(JDACIntrospection) - Constructor for class io.github.kaktushose.jdac.guice.internal.guice.modules.InitializedScopeModule
 
inputStream(InputStream) - Static method in interface io.github.kaktushose.jdac.embeds.EmbedDataSource
Constructs a new EmbedDataSource using an JSON InputStream as its source.
instance(Class, JDACIntrospection) - Method in interface io.github.kaktushose.jdac.dispatching.instance.Instantiator
This method will be called each time an instance of a class is needed.
instance(Class, JDACIntrospection) - Method in class io.github.kaktushose.jdac.guice.internal.GuiceInstantiator
 
INSTANCE - Static variable in class io.github.kaktushose.jdac.property.internal.Registry
 
instantiator(Instantiator) - Method in class io.github.kaktushose.jdac.JDACBuilder
 
Instantiator - Interface in io.github.kaktushose.jdac.dispatching.instance
An Instantiator is used get instances of classes, if needed creating those.
INSTANTIATOR - Static variable in interface io.github.kaktushose.jdac.property.JDACProperty
 
integration() - Element in annotation interface io.github.kaktushose.jdac.annotations.interactions.CommandConfig
The IntegrationTypes to use.
integration() - Method in record class io.github.kaktushose.jdac.definitions.interactions.command.CommandDefinition.CommandConfig
Returns the value of the integration record component.
integration(Collection) - Method in class io.github.kaktushose.jdac.definitions.interactions.command.CommandDefinition.CommandConfig.Builder
The IntegrationTypes to use.
integration(IntegrationType...) - Method in class io.github.kaktushose.jdac.definitions.interactions.command.CommandDefinition.CommandConfig.Builder
The IntegrationTypes to use.
interaction() - Method in record class io.github.kaktushose.jdac.definitions.interactions.MethodBuildContext
Returns the value of the interaction record component.
Interaction - Annotation Interface in io.github.kaktushose.jdac.annotations.interactions
Classes annotated with Interaction are responsible for defining and handling interactions.
INTERACTION - Enum constant in enum class io.github.kaktushose.jdac.property.JDACScope
 
INTERACTION_REGISTRY - Static variable in interface io.github.kaktushose.jdac.property.internal.JDACInternalProperties
 
InteractionDefinition - Interface in io.github.kaktushose.jdac.definitions.interactions
Common interface for all definitions that represent an interaction.
InteractionDefinition.ReplyConfig - Record Class in io.github.kaktushose.jdac.definitions.interactions
Stores the configuration values for sending replies.
InteractionDefinition.ReplyConfig.Builder - Class in io.github.kaktushose.jdac.definitions.interactions
InteractionFinishedEvent - Record Class in io.github.kaktushose.jdac.property.events
Published after an interaction controller method is called.
InteractionFinishedEvent(InvocationContext, Exception) - Constructor for record class io.github.kaktushose.jdac.property.events.InteractionFinishedEvent
Creates an instance of a InteractionFinishedEvent record class.
interactionInstance(Class) - Method in class io.github.kaktushose.jdac.dispatching.events.Event
Returns an instance of a class annotated with Interaction, that is bound to the underlying Runtime.
interactionInstance(Class) - Method in class io.github.kaktushose.jdac.dispatching.Runtime
 
interactionRegistry - Variable in class io.github.kaktushose.jdac.dispatching.handling.EventHandler
 
InteractionRegistry - Record Class in io.github.kaktushose.jdac.definitions.interactions
Central registry for all InteractionDefinitions.
InteractionRegistry(Validators, MessageResolver, Descriptor) - Constructor for record class io.github.kaktushose.jdac.definitions.interactions.InteractionRegistry
Constructs a new InteractionRegistry
InteractionRegistry(Validators, MessageResolver, Descriptor, Set) - Constructor for record class io.github.kaktushose.jdac.definitions.interactions.InteractionRegistry
Creates an instance of a InteractionRegistry record class.
InteractionStartEvent - Record Class in io.github.kaktushose.jdac.property.events
Published before an interaction controller method is invoked.
InteractionStartEvent(InvocationContext) - Constructor for record class io.github.kaktushose.jdac.property.events.InteractionStartEvent
Creates an instance of a InteractionStartEvent record class.
InternalException - Exception Class in io.github.kaktushose.jdac.exceptions
Will be thrown if anything goes wrong internally.
InternalException(String) - Constructor for exception class io.github.kaktushose.jdac.exceptions.InternalException
 
InternalException(String, Entry...) - Constructor for exception class io.github.kaktushose.jdac.exceptions.InternalException
 
InternalException(String, Throwable) - Constructor for exception class io.github.kaktushose.jdac.exceptions.InternalException
 
InternalException(String, Throwable, Entry...) - Constructor for exception class io.github.kaktushose.jdac.exceptions.InternalException
 
introspection - Variable in class io.github.kaktushose.jdac.guice.internal.guice.modules.ConfigurationScopeModule
 
introspection() - Method in class io.github.kaktushose.jdac.dispatching.events.Event
Gets the JDACIntrospection instance of this interaction.
introspection() - Method in class io.github.kaktushose.jdac.guice.internal.guice.modules.ConfigurationScopeModule
 
introspection() - Method in class io.github.kaktushose.jdac.JDACommands
Gets the JDACIntrospection instance with scope JDACScope.INITIALIZED.
INTROSPECTION - Static variable in class io.github.kaktushose.jdac.property.internal.JDACIntrospectionImpl
 
INTROSPECTION - Static variable in interface io.github.kaktushose.jdac.property.JDACProperty
The JDACIntrospection instance itself used to retrieve properties in this scope.
IntrospectionAccess - Class in io.github.kaktushose.jdac.property.internal
 
IntrospectionAccess - Annotation Interface in io.github.kaktushose.jdac.annotations
This annotation indicates that JDACIntrospection.accessScoped() and JDACIntrospection.scopedGet(JDACProperty) can be used inside the method annotated with this annotation.
IntrospectionAccess() - Constructor for class io.github.kaktushose.jdac.property.internal.IntrospectionAccess
 
InvalidDeclarationException - Exception Class in io.github.kaktushose.jdac.exceptions
Will be thrown if any errors are made in the declaration of interactions.
InvalidDeclarationException(String) - Constructor for exception class io.github.kaktushose.jdac.exceptions.InvalidDeclarationException
 
InvalidDeclarationException(String, Entry...) - Constructor for exception class io.github.kaktushose.jdac.exceptions.InvalidDeclarationException
 
InvalidDeclarationException(String, Throwable, Entry...) - Constructor for exception class io.github.kaktushose.jdac.exceptions.InvalidDeclarationException
 
INVOCATION_CONTEXT - Static variable in interface io.github.kaktushose.jdac.property.JDACProperty
The InvocationContext of this interaction.
INVOCATION_PERMITTED - Static variable in class io.github.kaktushose.jdac.dispatching.handling.EventHandler
 
invocationContext() - Method in class io.github.kaktushose.jdac.dispatching.validation.Validator.Context
 
invocationContext() - Method in record class io.github.kaktushose.jdac.property.events.InteractionFinishedEvent
Returns the value of the invocationContext record component.
invocationContext() - Method in record class io.github.kaktushose.jdac.property.events.InteractionStartEvent
Returns the value of the invocationContext record component.
InvocationContext<T> - Record Class in io.github.kaktushose.jdac.dispatching.context
Bundles data that is important for the execution of an interaction, especially for invoking the user defined method.
InvocationContext(T, KeyValueStore, InteractionDefinition, InteractionDefinition.ReplyConfig, SequencedCollection) - Constructor for record class io.github.kaktushose.jdac.dispatching.context.InvocationContext
Creates an instance of a InvocationContext record class.
Invokable - Interface in io.github.kaktushose.jdac.definitions.features.internal
Indicates that the implementing Definition is bound to a method that can be invoked.
invoke(Object, SequencedCollection) - Method in interface io.github.kaktushose.jdac.definitions.description.Invoker
Invokes the method behind MethodDescription.
invoke(Object, InvocationContext) - Method in interface io.github.kaktushose.jdac.definitions.features.internal.Invokable
Invokes the method that this Definition is bound to.
invoker() - Method in record class io.github.kaktushose.jdac.definitions.description.MethodDescription
Returns the value of the invoker record component.
Invoker - Interface in io.github.kaktushose.jdac.definitions.description
A functional interface, that allows the invocation of a MethodDescription.
io.github.kaktushose.jdac - package io.github.kaktushose.jdac
Root package of JDA-Commands.
io.github.kaktushose.jdac.annotations - package io.github.kaktushose.jdac.annotations
All annotations that are needed to use this framework.
io.github.kaktushose.jdac.annotations.constraints - package io.github.kaktushose.jdac.annotations.constraints
All annotations needed for parameter validation.
io.github.kaktushose.jdac.annotations.i18n - package io.github.kaktushose.jdac.annotations.i18n
 
io.github.kaktushose.jdac.annotations.interactions - package io.github.kaktushose.jdac.annotations.interactions
Annotations needed for interactions.
io.github.kaktushose.jdac.core - module io.github.kaktushose.jdac.core
The base module of jda-commands.
io.github.kaktushose.jdac.definitions - package io.github.kaktushose.jdac.definitions
 
io.github.kaktushose.jdac.definitions.description - package io.github.kaktushose.jdac.definitions.description
This packages includes different types of Descriptions that contain meta information about classes, methods und parameters, similar to reflections.
io.github.kaktushose.jdac.definitions.description.reflective - package io.github.kaktushose.jdac.definitions.description.reflective
Contains Descriptors that use java.lang.reflect to build `Descriptions.
io.github.kaktushose.jdac.definitions.features - package io.github.kaktushose.jdac.definitions.features
This package contains interfaces that implement some form of functionality for a definition, that not all definitions might share.
io.github.kaktushose.jdac.definitions.features.internal - package io.github.kaktushose.jdac.definitions.features.internal
 
io.github.kaktushose.jdac.definitions.interactions - package io.github.kaktushose.jdac.definitions.interactions
Definitions that represent any type interaction.
io.github.kaktushose.jdac.definitions.interactions.command - package io.github.kaktushose.jdac.definitions.interactions.command
Definitions that represent a command interaction.
io.github.kaktushose.jdac.definitions.interactions.component - package io.github.kaktushose.jdac.definitions.interactions.component
Definitions that represent component interactions.
io.github.kaktushose.jdac.definitions.interactions.component.menu - package io.github.kaktushose.jdac.definitions.interactions.component.menu
Definitions that represent select menu interactions.
io.github.kaktushose.jdac.dispatching - package io.github.kaktushose.jdac.dispatching
Top-level package for all parts of the execution chain.
io.github.kaktushose.jdac.dispatching.adapter - package io.github.kaktushose.jdac.dispatching.adapter
Generic type adapting system.
io.github.kaktushose.jdac.dispatching.adapter.internal - package io.github.kaktushose.jdac.dispatching.adapter.internal
 
io.github.kaktushose.jdac.dispatching.context - package io.github.kaktushose.jdac.dispatching.context
 
io.github.kaktushose.jdac.dispatching.events - package io.github.kaktushose.jdac.dispatching.events
Abstract event classes that build the foundation for specific event implementations.
io.github.kaktushose.jdac.dispatching.events.interactions - package io.github.kaktushose.jdac.dispatching.events.interactions
FrameworkEvent classes that represent an interaction execution.
io.github.kaktushose.jdac.dispatching.expiration - package io.github.kaktushose.jdac.dispatching.expiration
 
io.github.kaktushose.jdac.dispatching.handling - package io.github.kaktushose.jdac.dispatching.handling
 
io.github.kaktushose.jdac.dispatching.handling.command - package io.github.kaktushose.jdac.dispatching.handling.command
 
io.github.kaktushose.jdac.dispatching.instance - package io.github.kaktushose.jdac.dispatching.instance
This package contains logic needed to get instances of classes annotated with Interaction
io.github.kaktushose.jdac.dispatching.middleware - package io.github.kaktushose.jdac.dispatching.middleware
Middlewares get executed between preparation and method invocation.
io.github.kaktushose.jdac.dispatching.middleware.impl - package io.github.kaktushose.jdac.dispatching.middleware.impl
Implementations of commonly used Middlewares, such as permission handling.
io.github.kaktushose.jdac.dispatching.middleware.internal - package io.github.kaktushose.jdac.dispatching.middleware.internal
 
io.github.kaktushose.jdac.dispatching.reply - package io.github.kaktushose.jdac.dispatching.reply
Classes for sending bot messages.
io.github.kaktushose.jdac.dispatching.reply.dynamic - package io.github.kaktushose.jdac.dispatching.reply.dynamic
 
io.github.kaktushose.jdac.dispatching.reply.dynamic.internal - package io.github.kaktushose.jdac.dispatching.reply.dynamic.internal
 
io.github.kaktushose.jdac.dispatching.reply.dynamic.menu - package io.github.kaktushose.jdac.dispatching.reply.dynamic.menu
 
io.github.kaktushose.jdac.dispatching.reply.internal - package io.github.kaktushose.jdac.dispatching.reply.internal
 
io.github.kaktushose.jdac.dispatching.validation - package io.github.kaktushose.jdac.dispatching.validation
Command parameter validation system.
io.github.kaktushose.jdac.dispatching.validation.impl - package io.github.kaktushose.jdac.dispatching.validation.impl
Implementations of frequently used validators.
io.github.kaktushose.jdac.dispatching.validation.internal - package io.github.kaktushose.jdac.dispatching.validation.internal
 
io.github.kaktushose.jdac.embeds - package io.github.kaktushose.jdac.embeds
Helper and factory classes for handling embeds.
io.github.kaktushose.jdac.embeds.error - package io.github.kaktushose.jdac.embeds.error
Factory classes for generating error embeds.
io.github.kaktushose.jdac.embeds.internal - package io.github.kaktushose.jdac.embeds.internal
 
io.github.kaktushose.jdac.exceptions - package io.github.kaktushose.jdac.exceptions
 
io.github.kaktushose.jdac.exceptions.internal - package io.github.kaktushose.jdac.exceptions.internal
 
io.github.kaktushose.jdac.guice - module io.github.kaktushose.jdac.guice
An extension to JDA-Commands providing Google's Guice as a dependency injection framework.
io.github.kaktushose.jdac.guice - package io.github.kaktushose.jdac.guice
 
io.github.kaktushose.jdac.guice.internal - package io.github.kaktushose.jdac.guice.internal
 
io.github.kaktushose.jdac.guice.internal.guice - package io.github.kaktushose.jdac.guice.internal.guice
 
io.github.kaktushose.jdac.guice.internal.guice.modules - package io.github.kaktushose.jdac.guice.internal.guice.modules
 
io.github.kaktushose.jdac.internal - package io.github.kaktushose.jdac.internal
 
io.github.kaktushose.jdac.internal.logging - package io.github.kaktushose.jdac.internal.logging
 
io.github.kaktushose.jdac.internal.register - package io.github.kaktushose.jdac.internal.register
 
io.github.kaktushose.jdac.message.emoji - package io.github.kaktushose.jdac.message.emoji
 
io.github.kaktushose.jdac.message.i18n - package io.github.kaktushose.jdac.message.i18n
 
io.github.kaktushose.jdac.message.i18n.internal - package io.github.kaktushose.jdac.message.i18n.internal
 
io.github.kaktushose.jdac.message.placeholder - package io.github.kaktushose.jdac.message.placeholder
 
io.github.kaktushose.jdac.message.resolver - package io.github.kaktushose.jdac.message.resolver
 
io.github.kaktushose.jdac.message.resolver.internal - package io.github.kaktushose.jdac.message.resolver.internal
 
io.github.kaktushose.jdac.permissions - package io.github.kaktushose.jdac.permissions
Command permission system.
io.github.kaktushose.jdac.property - package io.github.kaktushose.jdac.property
 
io.github.kaktushose.jdac.property.events - package io.github.kaktushose.jdac.property.events
 
io.github.kaktushose.jdac.property.extension - package io.github.kaktushose.jdac.property.extension
 
io.github.kaktushose.jdac.property.internal - package io.github.kaktushose.jdac.property.internal
 
io.github.kaktushose.jdac.property.internal.extension - package io.github.kaktushose.jdac.property.internal.extension
 
io.github.kaktushose.jdac.scope - package io.github.kaktushose.jdac.scope
Contains everything to resolve the guilds for guild commands.
isAcknowledged() - Method in class io.github.kaktushose.jdac.dispatching.events.Event
 
isBound() - Method in record class io.github.kaktushose.jdac.definitions.interactions.CustomId
Checks if the passed custom id is runtime-bound.
isClosed() - Method in class io.github.kaktushose.jdac.dispatching.Runtime
 
isDefault() - Element in annotation interface io.github.kaktushose.jdac.annotations.interactions.MenuOption
Gets whether this option is a default option.
isDefault() - Method in record class io.github.kaktushose.jdac.definitions.interactions.component.menu.StringSelectMenuDefinition.MenuOptionDefinition
Returns the value of the isDefault record component.
isIndependent() - Method in record class io.github.kaktushose.jdac.definitions.interactions.CustomId
Checks if the passed custom id is runtime-independent.
isInvalid(String) - Static method in record class io.github.kaktushose.jdac.definitions.interactions.CustomId
Checks if the passed custom id doesn't conform to the defined format of jda-commands.
isNSFW() - Element in annotation interface io.github.kaktushose.jdac.annotations.interactions.CommandConfig
Whether the configured command(s) can only be executed in NSFW channels.
isNSFW() - Method in record class io.github.kaktushose.jdac.definitions.interactions.command.CommandDefinition.CommandConfig
Returns the value of the isNSFW record component.
isValidWithoutComponents(Message) - Static method in class io.github.kaktushose.jdac.internal.Helpers
 
iterator() - Method in record class io.github.kaktushose.jdac.internal.register.TreeNode
 

J

jda() - Method in class io.github.kaktushose.jdac.guice.internal.guice.modules.RuntimeScopeModule
 
JDA - Static variable in interface io.github.kaktushose.jdac.property.JDACProperty
The JDA instance bound to this specific Runtime.
JDA_COMMANDS - Static variable in interface io.github.kaktushose.jdac.property.JDACProperty
The JDACommands instance available after fully starting the framework.
JDA_CONTEXT - Static variable in interface io.github.kaktushose.jdac.property.internal.JDACInternalProperties
 
JDA_EVENT - Static variable in interface io.github.kaktushose.jdac.property.JDACProperty
The GenericInteractionCreateEvent of this interaction.
JDA_LOCALIZATION - Static variable in class io.github.kaktushose.jdac.message.i18n.internal.JDACLocalizationFunction
 
JDACBuilder - Class in io.github.kaktushose.jdac
This builder is used to build instances of JDACommands.
JDACEnumerationProperty<T> - Class in io.github.kaktushose.jdac.property.internal
 
JDACEnumerationProperty(String, Property.Source, Scope, Class, Property.FallbackStrategy) - Constructor for class io.github.kaktushose.jdac.property.internal.JDACEnumerationProperty
 
JDACEvent - Interface in io.github.kaktushose.jdac.property.events
An Event in general, is an occurrence of something during the runtime of JDA-Commands.
JDACException - Exception Class in io.github.kaktushose.jdac.exceptions.internal
Base exception for all exceptions known to JDA-Commands.
JDACException(String) - Constructor for exception class io.github.kaktushose.jdac.exceptions.internal.JDACException
Creates a new JDACException and loads the error message from the given key.
JDACException(String, Entry...) - Constructor for exception class io.github.kaktushose.jdac.exceptions.internal.JDACException
Creates a new JDACException, loads the error message from the given key and inserts the placeholders.
JDACException(String, Throwable) - Constructor for exception class io.github.kaktushose.jdac.exceptions.internal.JDACException
Creates a new JDACException and loads the error message from the given key and cause.
JDACException(String, Throwable, Entry...) - Constructor for exception class io.github.kaktushose.jdac.exceptions.internal.JDACException
Creates a new JDACException with the given cause, loads the error message from the given key and inserts the placeholders.
JDACInternalProperties - Interface in io.github.kaktushose.jdac.property.internal
 
JDACIntrospection - Interface in io.github.kaktushose.jdac.property
The JDACIntrospection type is the central element of the property system.
JDACIntrospectionImpl - Class in io.github.kaktushose.jdac.property.internal
 
JDACIntrospectionImpl.Builder - Class in io.github.kaktushose.jdac.property.internal
 
JDACLocalizationFunction - Class in io.github.kaktushose.jdac.message.i18n.internal
 
JDACLogger - Class in io.github.kaktushose.jdac.internal.logging
 
JDACLogger() - Constructor for class io.github.kaktushose.jdac.internal.logging.JDACLogger
 
JDACMappingProperty<K,V> - Class in io.github.kaktushose.jdac.property.internal
 
JDACMappingProperty(String, Property.Source, JDACScope, Class, Class, Property.FallbackStrategy) - Constructor for class io.github.kaktushose.jdac.property.internal.JDACMappingProperty
 
jdaCommands() - Method in class io.github.kaktushose.jdac.guice.internal.guice.modules.InitializedScopeModule
 
JDACommands - Class in io.github.kaktushose.jdac
The main entry point of the JDA-Commands framework.
JDAContext - Class in io.github.kaktushose.jdac.internal
Wrapper class for JDA and ShardManager.
JDAContext(JDA) - Constructor for class io.github.kaktushose.jdac.internal.JDAContext
Constructs a new JDAContext.
JDAContext(ShardManager) - Constructor for class io.github.kaktushose.jdac.internal.JDAContext
Constructs a new JDAContext.
JDACProperty<T> - Interface in io.github.kaktushose.jdac.property
A JDACProperty is an identifier for a certain component of a JDA-Commands.
JDACPropertyProvider<T> - Class in io.github.kaktushose.jdac.property
A JDACPropertyProvider supplies the values for a property.
JDACPropertyProvider(JDACProperty, Priority, Class, Function) - Constructor for class io.github.kaktushose.jdac.property.JDACPropertyProvider
 
JDACScope - Enum Class in io.github.kaktushose.jdac.property
The scope or "scope" inside the framework at which a properties value is set.
JDACSingletonProperty<T> - Class in io.github.kaktushose.jdac.property.internal
 
JDACSingletonProperty(String, Property.Source, JDACScope, Class) - Constructor for class io.github.kaktushose.jdac.property.internal.JDACSingletonProperty
 
JDAEntity<T> - Interface in io.github.kaktushose.jdac.definitions.features
Indicates that the implementing Definition can be transformed into a JDA entity.
jdaEvent() - Method in class io.github.kaktushose.jdac.dispatching.events.Event
Returns the underlying GenericInteractionCreateEvent of this event
jdaEvent(Class) - Method in class io.github.kaktushose.jdac.dispatching.events.interactions.CommandEvent
Returns the underlying GenericCommandInteractionEvent and casts it to the given type.
jdaEvent(Class) - Method in class io.github.kaktushose.jdac.dispatching.events.interactions.ComponentEvent
Returns the underlying GenericComponentInteractionCreateEvent and casts it to the given type.
JDAEventListener - Class in io.github.kaktushose.jdac.dispatching
Handles incoming GenericInteractionCreateEvents and maps them to their corresponding Runtime, creating new ones if needed.
JDAEventListener(JDACIntrospectionImpl) - Constructor for class io.github.kaktushose.jdac.dispatching.JDAEventListener
 
jdaException(IllegalArgumentException, InteractionDefinition) - Static method in class io.github.kaktushose.jdac.internal.Helpers
 
json(String) - Static method in interface io.github.kaktushose.jdac.embeds.EmbedDataSource
Constructs a new EmbedDataSource using a JSON payload as its source.
JsonResolver - Class in io.github.kaktushose.jdac.message.resolver.internal
 
JsonResolver(Resolver, Set) - Constructor for class io.github.kaktushose.jdac.message.resolver.internal.JsonResolver
 

K

keepComponents() - Element in annotation interface io.github.kaktushose.jdac.annotations.interactions.ReplyConfig
Whether to keep the original components when editing a message.
keepComponents() - Method in record class io.github.kaktushose.jdac.definitions.interactions.InteractionDefinition.ReplyConfig
Returns the value of the keepComponents record component.
keepComponents(boolean) - Method in class io.github.kaktushose.jdac.definitions.interactions.InteractionDefinition.ReplyConfig.Builder
Whether to keep the original components when editing a message.
keepComponents(boolean) - Method in class io.github.kaktushose.jdac.dispatching.reply.EditableConfigurableReply
Whether to keep the original components when editing a message.
keepComponents(boolean) - Method in class io.github.kaktushose.jdac.dispatching.reply.internal.ReplyAction
 
keepSelections() - Element in annotation interface io.github.kaktushose.jdac.annotations.interactions.ReplyConfig
Whether to keep the selections of a string select menu when sending edits.
keepSelections() - Method in record class io.github.kaktushose.jdac.definitions.interactions.InteractionDefinition.ReplyConfig
Returns the value of the keepSelections record component.
keepSelections(boolean) - Method in class io.github.kaktushose.jdac.definitions.interactions.InteractionDefinition.ReplyConfig.Builder
Whether to keep the selections of a string select menu when sending edits.
keepSelections(boolean) - Method in class io.github.kaktushose.jdac.dispatching.reply.EditableConfigurableReply
Whether to keep the selections of a string select menu when sending edits.
keepSelections(boolean) - Method in class io.github.kaktushose.jdac.dispatching.reply.internal.ReplyAction
 
KEY_VALUE_STORE - Static variable in interface io.github.kaktushose.jdac.property.JDACProperty
The KeyValueStore associated with this runtime.
keyValueStore() - Method in record class io.github.kaktushose.jdac.dispatching.context.InvocationContext
Returns the value of the keyValueStore record component.
keyValueStore() - Method in class io.github.kaktushose.jdac.dispatching.Runtime
 
KeyValueStore - Class in io.github.kaktushose.jdac.dispatching.context
A simple key-value-store to store variables between events.
KeyValueStore() - Constructor for class io.github.kaktushose.jdac.dispatching.context.KeyValueStore
 
kv() - Method in class io.github.kaktushose.jdac.dispatching.events.Event
Returns the KeyValueStore of this Runtime.

L

label() - Element in annotation interface io.github.kaktushose.jdac.annotations.interactions.MenuOption
Gets the label of an option.
label() - Method in record class io.github.kaktushose.jdac.definitions.interactions.component.ButtonDefinition
Returns the value of the label record component.
label() - Method in record class io.github.kaktushose.jdac.definitions.interactions.component.menu.StringSelectMenuDefinition.MenuOptionDefinition
Returns the value of the label record component.
label(String) - Method in class io.github.kaktushose.jdac.dispatching.reply.dynamic.ButtonComponent
 
link() - Element in annotation interface io.github.kaktushose.jdac.annotations.interactions.Button
Gets the link of the button.
link() - Method in record class io.github.kaktushose.jdac.definitions.interactions.component.ButtonDefinition
Returns the value of the link record component.
load(JDACIntrospection) - Method in class io.github.kaktushose.jdac.property.internal.extension.Extensions
 
locale(Locale) - Method in class io.github.kaktushose.jdac.embeds.Embed
Sets the Locale this Embed will be localized with.
LOCALIZATION_FUNCTION - Static variable in interface io.github.kaktushose.jdac.property.JDACProperty
The LocalizationFunction backed by MessageResolver used to localize/resolve commands and descriptions.
localize(Locale, String, String, Map) - Method in class io.github.kaktushose.jdac.message.i18n.FluavaLocalizer
This method localizes a given key for a specific bundle and locale.
localize(Locale, String, String, Map) - Method in interface io.github.kaktushose.jdac.message.i18n.Localizer
This method localizes a given key for a specific bundle and locale.
LOCALIZE_COMMANDS - Static variable in interface io.github.kaktushose.jdac.property.JDACProperty
 
localizeCommands(boolean) - Method in class io.github.kaktushose.jdac.JDACBuilder
Whether JDA-Commands should use the I18n feature to localize commands.
localizeJDA(Locale, String, String, Map) - Method in class io.github.kaktushose.jdac.message.i18n.FluavaLocalizer
This method localizes a given key (coming from JDA's LocalizationFunction) for a specific bundle and locale.
localizeJDA(Locale, String, String, Map) - Method in interface io.github.kaktushose.jdac.message.i18n.Localizer
This method localizes a given key (coming from JDA's LocalizationFunction) for a specific bundle and locale.
localizer(Localizer) - Method in class io.github.kaktushose.jdac.JDACBuilder
 
Localizer - Interface in io.github.kaktushose.jdac.message.i18n
A Localizer is used to localize a given key for a specific bundle and locale.
LOCALIZER - Static variable in interface io.github.kaktushose.jdac.property.JDACProperty
 
log - Static variable in interface io.github.kaktushose.jdac.definitions.features.internal.Invokable
 
log - Static variable in class io.github.kaktushose.jdac.dispatching.handling.EventHandler
 
log - Static variable in class io.github.kaktushose.jdac.internal.JDAContext
 
log - Static variable in interface io.github.kaktushose.jdac.message.emoji.EmojiSource
 
LOW - Enum constant in enum class io.github.kaktushose.jdac.dispatching.middleware.Priority
Lowest priority, will be executed at the end

M

Max - Annotation Interface in io.github.kaktushose.jdac.annotations.constraints
The annotated element must be a number whose value must be less or equal to the specified maximum.
maxValue() - Element in annotation interface io.github.kaktushose.jdac.annotations.interactions.EntityMenu
The maximum amount of values a user can select.
maxValue() - Element in annotation interface io.github.kaktushose.jdac.annotations.interactions.StringMenu
The maximum amount of values a user can select.
maxValue() - Method in record class io.github.kaktushose.jdac.definitions.interactions.component.menu.EntitySelectMenuDefinition
Returns the value of the maxValue record component.
maxValue() - Method in interface io.github.kaktushose.jdac.definitions.interactions.component.menu.SelectMenuDefinition
the maximum amount of choices
maxValue() - Method in record class io.github.kaktushose.jdac.definitions.interactions.component.menu.StringSelectMenuDefinition
Returns the value of the maxValue record component.
maxValues - Variable in class io.github.kaktushose.jdac.dispatching.reply.dynamic.menu.SelectMenuComponent
 
maxValues(int) - Method in class io.github.kaktushose.jdac.dispatching.reply.dynamic.menu.SelectMenuComponent
 
mention(Collection) - Method in class io.github.kaktushose.jdac.dispatching.reply.ConfigurableReply
Used to provide a whitelist for Users, Members and Roles that should be pinged.
mention(Collection) - Method in class io.github.kaktushose.jdac.dispatching.reply.internal.ReplyAction
 
mention(IMentionable...) - Method in class io.github.kaktushose.jdac.dispatching.reply.ConfigurableReply
Used to provide a whitelist for Users, Members and Roles that should be pinged.
mentionableFunction(boolean) - Method in class io.github.kaktushose.jdac.message.i18n.FluavaLocalizer.Builder
Whether to create the default IMentionable function.
MenuOption - Annotation Interface in io.github.kaktushose.jdac.annotations.interactions
Used to define SelectOptions for StringMenus.
MenuOptionContainer - Annotation Interface in io.github.kaktushose.jdac.annotations.interactions
InternalException wrapper for repeating MenuOptions.
MenuOptionDefinition(String, String, String, Emoji, boolean) - Constructor for record class io.github.kaktushose.jdac.definitions.interactions.component.menu.StringSelectMenuDefinition.MenuOptionDefinition
Creates an instance of a MenuOptionDefinition record class.
MenuOptionDefinition(SelectOption) - Constructor for record class io.github.kaktushose.jdac.definitions.interactions.component.menu.StringSelectMenuDefinition.MenuOptionDefinition
 
merged() - Method in record class io.github.kaktushose.jdac.definitions.interactions.CustomId
The String representation of this custom id.
MERGED_CLASS_FINDER - Static variable in interface io.github.kaktushose.jdac.property.JDACProperty
An ClassFinder instance that is backed by all ClassFinder of JDACProperty.CLASS_FINDER.
mergedClassFinder() - Method in class io.github.kaktushose.jdac.guice.internal.guice.modules.ConfigurationScopeModule
 
MESSAGE_RESOLVER - Static variable in interface io.github.kaktushose.jdac.property.JDACProperty
The MessageResolver service provided byt JDA-Commands.
MessageReply - Class in io.github.kaktushose.jdac.dispatching.reply
Handles all the business logic for sending messages, including embeds or V1 components.
MessageReply(InteractionDefinition.ReplyConfig) - Constructor for class io.github.kaktushose.jdac.dispatching.reply.MessageReply
Constructs a new MessageReply.
MessageReply(MessageReply) - Constructor for class io.github.kaktushose.jdac.dispatching.reply.MessageReply
Constructs a new MessageReply.
messageResolver() - Method in record class io.github.kaktushose.jdac.definitions.interactions.InteractionRegistry
Returns the value of the messageResolver record component.
messageResolver() - Method in record class io.github.kaktushose.jdac.definitions.interactions.MethodBuildContext
Returns the value of the messageResolver record component.
messageResolver() - Method in class io.github.kaktushose.jdac.dispatching.events.Event
Gets the MessageResolver instance
messageResolver() - Method in record class io.github.kaktushose.jdac.embeds.internal.Embeds
Returns the value of the messageResolver record component.
messageResolver() - Method in class io.github.kaktushose.jdac.guice.internal.guice.modules.ConfigurationScopeModule
 
MessageResolver - Class in io.github.kaktushose.jdac.message.resolver
The MessageResolver combines all registered Resolver<String> and following default resolvers:
MessageResolver(Collection) - Constructor for class io.github.kaktushose.jdac.message.resolver.MessageResolver
 
method() - Method in record class io.github.kaktushose.jdac.definitions.interactions.MethodBuildContext
Returns the value of the method record component.
method(String, Class...) - Method in record class io.github.kaktushose.jdac.definitions.description.ClassDescription
Gets a method that matches the given name and parameter types.
method(String, List) - Method in record class io.github.kaktushose.jdac.definitions.description.ClassDescription
Gets a method that matches the given name and parameter types.
MethodBuildContext - Record Class in io.github.kaktushose.jdac.definitions.interactions
Holds all objects needed to create an InteractionDefinition.
MethodBuildContext(Validators, MessageResolver, Interaction, Set, ClassDescription, MethodDescription, Collection, CommandDefinition.CommandConfig) - Constructor for record class io.github.kaktushose.jdac.definitions.interactions.MethodBuildContext
Creates an instance of a MethodBuildContext record class.
methodDescription() - Method in interface io.github.kaktushose.jdac.definitions.features.internal.Invokable
The MethodDescription of the method this Definition is bound to.
methodDescription() - Method in record class io.github.kaktushose.jdac.definitions.interactions.AutoCompleteDefinition
Returns the value of the methodDescription record component.
methodDescription() - Method in record class io.github.kaktushose.jdac.definitions.interactions.command.ContextCommandDefinition
Returns the value of the methodDescription record component.
methodDescription() - Method in record class io.github.kaktushose.jdac.definitions.interactions.command.SlashCommandDefinition
Returns the value of the methodDescription record component.
methodDescription() - Method in record class io.github.kaktushose.jdac.definitions.interactions.component.ButtonDefinition
Returns the value of the methodDescription record component.
methodDescription() - Method in interface io.github.kaktushose.jdac.definitions.interactions.component.ComponentDefinition
The MethodDescription of the method this definition is bound to
methodDescription() - Method in record class io.github.kaktushose.jdac.definitions.interactions.component.menu.EntitySelectMenuDefinition
Returns the value of the methodDescription record component.
methodDescription() - Method in record class io.github.kaktushose.jdac.definitions.interactions.component.menu.StringSelectMenuDefinition
Returns the value of the methodDescription record component.
methodDescription() - Method in record class io.github.kaktushose.jdac.definitions.interactions.ModalDefinition
Returns the value of the methodDescription record component.
MethodDescription - Record Class in io.github.kaktushose.jdac.definitions.description
A Description that describes a method.
MethodDescription(Class, Class, Type, String, int, SequencedCollection, Collection, Invoker) - Constructor for record class io.github.kaktushose.jdac.definitions.description.MethodDescription
Creates an instance of a MethodDescription record class.
methods() - Method in record class io.github.kaktushose.jdac.definitions.description.ClassDescription
Returns the value of the methods record component.
middleware(Priority, Middleware) - Method in class io.github.kaktushose.jdac.JDACBuilder
 
Middleware - Interface in io.github.kaktushose.jdac.dispatching.middleware
Middlewares run just before an interaction event gets dispatched.
MIDDLEWARE - Static variable in interface io.github.kaktushose.jdac.property.JDACProperty
MIDDLEWARE property holds multiple Middlewares associated with their Priority
Middlewares - Class in io.github.kaktushose.jdac.dispatching.middleware.internal
Central registry for all Middlewares.
Middlewares(Collection, ErrorMessageFactory, PermissionsProvider) - Constructor for class io.github.kaktushose.jdac.dispatching.middleware.internal.Middlewares
 
MIDDLEWARES - Static variable in interface io.github.kaktushose.jdac.property.internal.JDACInternalProperties
 
Min - Annotation Interface in io.github.kaktushose.jdac.annotations.constraints
The annotated element must be a number whose value must be greater or equal to the specified minimum.
minValue() - Element in annotation interface io.github.kaktushose.jdac.annotations.interactions.EntityMenu
The minimum amount of values a user has to select.
minValue() - Element in annotation interface io.github.kaktushose.jdac.annotations.interactions.StringMenu
The minimum amount of values a user has to select.
minValue() - Method in record class io.github.kaktushose.jdac.definitions.interactions.component.menu.EntitySelectMenuDefinition
Returns the value of the minValue record component.
minValue() - Method in interface io.github.kaktushose.jdac.definitions.interactions.component.menu.SelectMenuDefinition
the minimum amount of choices
minValue() - Method in record class io.github.kaktushose.jdac.definitions.interactions.component.menu.StringSelectMenuDefinition
Returns the value of the minValue record component.
minValues - Variable in class io.github.kaktushose.jdac.dispatching.reply.dynamic.menu.SelectMenuComponent
 
minValues(int) - Method in class io.github.kaktushose.jdac.dispatching.reply.dynamic.menu.SelectMenuComponent
 
Modal - Annotation Interface in io.github.kaktushose.jdac.annotations.interactions
Methods annotated with Modal will be registered as a modal at startup.
ModalDefinition - Record Class in io.github.kaktushose.jdac.definitions.interactions
Representation of a modal.
ModalDefinition(ClassDescription, MethodDescription, Collection, String, Collection) - Constructor for record class io.github.kaktushose.jdac.definitions.interactions.ModalDefinition
Creates an instance of a ModalDefinition record class.
ModalEvent - Class in io.github.kaktushose.jdac.dispatching.events.interactions
This class is a subclass of Event.
ModalEvent() - Constructor for class io.github.kaktushose.jdac.dispatching.events.interactions.ModalEvent
 
ModalHandler - Class in io.github.kaktushose.jdac.dispatching.handling
 
ModalHandler(JDACIntrospectionImpl) - Constructor for class io.github.kaktushose.jdac.dispatching.handling.ModalHandler
 
ModalReplyableEvent<T> - Class in io.github.kaktushose.jdac.dispatching.events
Subtype of ReplyableEvent that also supports replying with a Modal.
ModalReplyableEvent() - Constructor for class io.github.kaktushose.jdac.dispatching.events.ModalReplyableEvent
 
modifiers() - Method in record class io.github.kaktushose.jdac.definitions.description.MethodDescription
Returns the value of the modifiers record component.
modify(Function) - Method in class io.github.kaktushose.jdac.dispatching.reply.Component
 

N

name() - Element in annotation interface io.github.kaktushose.jdac.annotations.interactions.Param
Returns the name of the command option.
name() - Method in record class io.github.kaktushose.jdac.definitions.description.ClassDescription
Returns the value of the name record component.
name() - Method in record class io.github.kaktushose.jdac.definitions.description.MethodDescription
Returns the value of the name record component.
name() - Method in record class io.github.kaktushose.jdac.definitions.description.PackageDescription
Returns the value of the name record component.
name() - Method in record class io.github.kaktushose.jdac.definitions.description.ParameterDescription
Returns the value of the name record component.
name() - Method in interface io.github.kaktushose.jdac.definitions.interactions.command.CommandDefinition
The name of the command.
name() - Method in record class io.github.kaktushose.jdac.definitions.interactions.command.ContextCommandDefinition
Returns the value of the name record component.
name() - Method in record class io.github.kaktushose.jdac.definitions.interactions.command.OptionDataDefinition
Returns the value of the name record component.
name() - Method in record class io.github.kaktushose.jdac.definitions.interactions.command.SlashCommandDefinition
Returns the value of the name record component.
name() - Method in class io.github.kaktushose.jdac.dispatching.reply.Component
 
name() - Method in class io.github.kaktushose.jdac.embeds.Embed
Gets the name of this embed.
name() - Method in record class io.github.kaktushose.jdac.internal.register.TreeNode
Returns the value of the name record component.
name() - Method in record class io.github.kaktushose.jdac.message.placeholder.Entry
Returns the value of the name record component.
newInstance() - Method in class io.github.kaktushose.jdac.property.internal.JDACIntrospectionImpl.Builder
 
NORMAL - Enum constant in enum class io.github.kaktushose.jdac.dispatching.middleware.Priority
Default priority.
NotFound() - Constructor for record class io.github.kaktushose.jdac.dispatching.validation.internal.Validators.Result.NotFound
Creates an instance of a NotFound record class.
NotPerm - Annotation Interface in io.github.kaktushose.jdac.annotations.constraints
The annotated element must be a Member that doesn't have the specified discord permission.
NotPermissionValidator - Class in io.github.kaktushose.jdac.dispatching.validation.impl
A Validator implementation that checks the NotPerm constraint.
NotPermissionValidator() - Constructor for class io.github.kaktushose.jdac.dispatching.validation.impl.NotPermissionValidator
 
nsfw(boolean) - Method in class io.github.kaktushose.jdac.definitions.interactions.command.CommandDefinition.CommandConfig.Builder
 

O

of(boolean, boolean, Class, String, Entry...) - Static method in class io.github.kaktushose.jdac.dispatching.reply.Component
Adds a Component with the passed configuration to the reply.
of(boolean, boolean, String, Entry...) - Static method in class io.github.kaktushose.jdac.dispatching.reply.Component
Adds a Component with the passed configuration to the reply.
of(boolean, Class, String, Entry...) - Static method in class io.github.kaktushose.jdac.dispatching.reply.Component
Adds a Component with the passed configuration to the reply.
of(Consumer) - Static method in record class io.github.kaktushose.jdac.definitions.interactions.command.CommandDefinition.CommandConfig
Constructs a new CommandConfig after the given Consumer modified the CommandDefinition.CommandConfig.Builder.
of(Consumer) - Static method in record class io.github.kaktushose.jdac.definitions.interactions.InteractionDefinition.ReplyConfig
Constructs a new ReplyConfig after the given Consumer modified the InteractionDefinition.ReplyConfig.Builder.
of(EmbedBuilder, String, Map, MessageResolver) - Static method in class io.github.kaktushose.jdac.embeds.Embed
Constructs a new Embed.
of(DataObject, String, Map, MessageResolver) - Static method in class io.github.kaktushose.jdac.embeds.Embed
Constructs a new Embed.
onGenericInteractionCreate(GenericInteractionCreateEvent) - Method in class io.github.kaktushose.jdac.dispatching.JDAEventListener
 
onStart(JDACommands) - Method in class io.github.kaktushose.jdac.guice.internal.GuiceExtension
 
onStart(JDACommands) - Method in interface io.github.kaktushose.jdac.property.extension.Extension
This method will be called after the framework was fully started, practically at the end of JDACBuilder.start().
option(String, String) - Method in class io.github.kaktushose.jdac.dispatching.reply.dynamic.menu.StringSelectComponent
 
option(String, String, String, Emoji) - Method in class io.github.kaktushose.jdac.dispatching.reply.dynamic.menu.StringSelectComponent
 
option(String, String, String) - Method in class io.github.kaktushose.jdac.dispatching.reply.dynamic.menu.StringSelectComponent
 
option(String, String, Emoji) - Method in class io.github.kaktushose.jdac.dispatching.reply.dynamic.menu.StringSelectComponent
 
optional() - Element in annotation interface io.github.kaktushose.jdac.annotations.interactions.Param
Returns whether this command option is optional.
optional() - Method in record class io.github.kaktushose.jdac.definitions.interactions.command.OptionDataDefinition
Returns the value of the optional record component.
OptionDataDefinition - Record Class in io.github.kaktushose.jdac.definitions.interactions.command
Representation of a slash command option.
OptionDataDefinition(Class, Class, OptionType, boolean, AutoCompleteDefinition, String, String, SequencedCollection, Collection) - Constructor for record class io.github.kaktushose.jdac.definitions.interactions.command.OptionDataDefinition
Creates an instance of a OptionDataDefinition record class.
OptionDataDefinition.ConstraintDefinition - Record Class in io.github.kaktushose.jdac.definitions.interactions.command
Representation of a parameter constraint defined by a constraint annotation.
options() - Element in annotation interface io.github.kaktushose.jdac.annotations.interactions.AutoComplete
Returns the name of the command options this autocomplete should handle
options() - Method in record class io.github.kaktushose.jdac.definitions.interactions.AutoCompleteDefinition.AutoCompleteRule
Returns the value of the options record component.
optionType() - Method in record class io.github.kaktushose.jdac.definitions.interactions.command.OptionDataDefinition
Returns the value of the optionType record component.
origin() - Method in class io.github.kaktushose.jdac.dispatching.reply.Component
 
override(T, T) - Static method in interface io.github.kaktushose.jdac.definitions.interactions.component.ComponentDefinition
Overrides the oldValue with the newValue if present, else returns the oldValue
override(Supplier, T, T) - Static method in interface io.github.kaktushose.jdac.definitions.interactions.component.ComponentDefinition
If present adds the newValues to the collection provided by the supplier, else returns the oldValue.

P

packageDescription() - Method in record class io.github.kaktushose.jdac.definitions.description.ClassDescription
Returns the value of the packageDescription record component.
PackageDescription - Record Class in io.github.kaktushose.jdac.definitions.description
A Description that describes a Package.
PackageDescription(String, Collection) - Constructor for record class io.github.kaktushose.jdac.definitions.description.PackageDescription
Creates an instance of a PackageDescription record class.
packages(String...) - Method in class io.github.kaktushose.jdac.JDACBuilder
Some default implementations like ClassFinder.reflective(String...) will scan the classpath to find classes and resource.
PACKAGES - Static variable in interface io.github.kaktushose.jdac.property.JDACProperty
 
Param - Annotation Interface in io.github.kaktushose.jdac.annotations.interactions
Annotation used to add metadata, e.g.
parameter(String) - Method in record class io.github.kaktushose.jdac.definitions.description.MethodDescription
Gets the parameter matching the given name.
ParameterDescription - Record Class in io.github.kaktushose.jdac.definitions.description
A Description that describes a parameter.
ParameterDescription(Class, Class[], String, Collection) - Constructor for record class io.github.kaktushose.jdac.definitions.description.ParameterDescription
Creates an instance of a ParameterDescription record class.
parameters() - Method in record class io.github.kaktushose.jdac.definitions.description.MethodDescription
Returns the value of the parameters record component.
ParsingException - Exception Class in io.github.kaktushose.jdac.exceptions
Thrown if the JSON parsing during localization of embeds or components fails.
ParsingException(Throwable, Entry...) - Constructor for exception class io.github.kaktushose.jdac.exceptions.ParsingException
 
performTask(Consumer, boolean) - Method in class io.github.kaktushose.jdac.internal.JDAContext
Performs an operation on either the JDA object or on all shards.
Perm - Annotation Interface in io.github.kaktushose.jdac.annotations.constraints
The annotated element must be a Member that have the specified discord permission.
PERMISSION_PROVIDER - Static variable in interface io.github.kaktushose.jdac.property.JDACProperty
 
permissions() - Method in record class io.github.kaktushose.jdac.definitions.interactions.AutoCompleteDefinition
 
permissions() - Method in record class io.github.kaktushose.jdac.definitions.interactions.command.ContextCommandDefinition
Returns the value of the permissions record component.
permissions() - Method in record class io.github.kaktushose.jdac.definitions.interactions.command.SlashCommandDefinition
Returns the value of the permissions record component.
permissions() - Method in record class io.github.kaktushose.jdac.definitions.interactions.component.ButtonDefinition
Returns the value of the permissions record component.
permissions() - Method in record class io.github.kaktushose.jdac.definitions.interactions.component.menu.EntitySelectMenuDefinition
Returns the value of the permissions record component.
permissions() - Method in record class io.github.kaktushose.jdac.definitions.interactions.component.menu.StringSelectMenuDefinition
Returns the value of the permissions record component.
permissions() - Method in interface io.github.kaktushose.jdac.definitions.interactions.InteractionDefinition
A possibly-empty Collection of permissions for this interaction.
permissions() - Method in record class io.github.kaktushose.jdac.definitions.interactions.MethodBuildContext
Returns the value of the permissions record component.
permissions() - Method in record class io.github.kaktushose.jdac.definitions.interactions.ModalDefinition
Returns the value of the permissions record component.
permissions(MethodBuildContext) - Static method in class io.github.kaktushose.jdac.internal.Helpers
Extracts the permissions from a MethodBuildContext.
Permissions - Annotation Interface in io.github.kaktushose.jdac.annotations.interactions
Interaction classes or interaction methods (commands, components or modals) annotated with Permission will require the user to have the given permissions in order to execute the command.
PermissionsMiddleware - Class in io.github.kaktushose.jdac.dispatching.middleware.impl
A Middleware implementation that will check permissions.
PermissionsMiddleware(PermissionsProvider, ErrorMessageFactory) - Constructor for class io.github.kaktushose.jdac.dispatching.middleware.impl.PermissionsMiddleware
 
permissionsProvider(PermissionsProvider) - Method in class io.github.kaktushose.jdac.JDACBuilder
 
PermissionsProvider - Interface in io.github.kaktushose.jdac.permissions
Interface for performing permission checks.
PermissionValidator - Class in io.github.kaktushose.jdac.dispatching.validation.impl
A Validator implementation that checks the Perm constraint.
PermissionValidator() - Constructor for class io.github.kaktushose.jdac.dispatching.validation.impl.PermissionValidator
 
placeholder - Variable in class io.github.kaktushose.jdac.dispatching.reply.dynamic.menu.SelectMenuComponent
 
placeholder() - Element in annotation interface io.github.kaktushose.jdac.annotations.interactions.EntityMenu
Configure the placeholder which is displayed when no selections have been made yet.
placeholder() - Method in record class io.github.kaktushose.jdac.definitions.interactions.component.menu.EntitySelectMenuDefinition
Returns the value of the placeholder record component.
placeholder() - Method in interface io.github.kaktushose.jdac.definitions.interactions.component.menu.SelectMenuDefinition
the placeholder text of this menu
placeholder() - Method in record class io.github.kaktushose.jdac.definitions.interactions.component.menu.StringSelectMenuDefinition
Returns the value of the placeholder record component.
placeholder() - Method in class io.github.kaktushose.jdac.dispatching.reply.Component
 
placeholder(String) - Method in class io.github.kaktushose.jdac.dispatching.reply.dynamic.menu.SelectMenuComponent
 
PLACEHOLDER_RESOLVER - Static variable in interface io.github.kaktushose.jdac.property.JDACProperty
The PlaceholderResolver service provided by JDA-Commands.
placeholderResolver() - Method in class io.github.kaktushose.jdac.guice.internal.guice.modules.ConfigurationScopeModule
 
PlaceholderResolver - Class in io.github.kaktushose.jdac.message.placeholder
The placeholder resolver is used to do simple placeholder/variable resolution.
PlaceholderResolver() - Constructor for class io.github.kaktushose.jdac.message.placeholder.PlaceholderResolver
 
placeholders() - Method in record class io.github.kaktushose.jdac.embeds.internal.Embeds
Returns the value of the placeholders record component.
placeholders(Entry...) - Method in class io.github.kaktushose.jdac.embeds.Embed
Adds all the provided placeholders to this embed instance.
placeholders(Entry...) - Method in interface io.github.kaktushose.jdac.embeds.EmbedConfig
Adds one or more new global placeholders.
placeholders(Entry...) - Method in class io.github.kaktushose.jdac.embeds.internal.Embeds.Configuration
 
placeholders(Map) - Method in class io.github.kaktushose.jdac.embeds.Embed
Adds all the provided placeholders to this embed instance.
placeholders(Map) - Method in interface io.github.kaktushose.jdac.embeds.EmbedConfig
Adds global placeholders with the values of the given map, where the key of the map represents the name of the placeholder and the value of the map the value to replace the placeholder with.
placeholders(Map) - Method in class io.github.kaktushose.jdac.embeds.internal.Embeds.Configuration
 
PREPARATION - Enum constant in enum class io.github.kaktushose.jdac.property.JDACScope
 
PreparationResult(InteractionDefinition, SequencedCollection) - Constructor for record class io.github.kaktushose.jdac.dispatching.handling.EventHandler.PreparationResult
Creates an instance of a PreparationResult record class.
prepare(CommandAutoCompleteInteractionEvent, Runtime) - Method in class io.github.kaktushose.jdac.dispatching.handling.AutoCompleteHandler
 
prepare(GenericContextInteractionEvent, Runtime) - Method in class io.github.kaktushose.jdac.dispatching.handling.command.ContextCommandHandler
 
prepare(SlashCommandInteractionEvent, Runtime) - Method in class io.github.kaktushose.jdac.dispatching.handling.command.SlashCommandHandler
 
prepare(GenericComponentInteractionCreateEvent, Runtime) - Method in class io.github.kaktushose.jdac.dispatching.handling.ComponentHandler
 
prepare(ModalInteractionEvent, Runtime) - Method in class io.github.kaktushose.jdac.dispatching.handling.ModalHandler
 
prepare(T, Runtime) - Method in class io.github.kaktushose.jdac.dispatching.handling.EventHandler
 
priority() - Element in annotation interface io.github.kaktushose.jdac.guice.Implementation.Middleware
Gets the Priority to register the Middleware with.
priority() - Method in class io.github.kaktushose.jdac.message.emoji.EmojiResolver
 
priority() - Method in class io.github.kaktushose.jdac.message.i18n.I18n
 
priority() - Method in class io.github.kaktushose.jdac.message.placeholder.PlaceholderResolver
 
priority() - Method in class io.github.kaktushose.jdac.message.resolver.ComponentResolver
 
priority() - Method in class io.github.kaktushose.jdac.message.resolver.DataObjectResolver
 
priority() - Method in class io.github.kaktushose.jdac.message.resolver.internal.JsonResolver
 
priority() - Method in class io.github.kaktushose.jdac.message.resolver.MessageResolver
 
priority() - Method in interface io.github.kaktushose.jdac.message.resolver.Resolver
The priority of this resolver influences the order in which resolver are applied in a resolution pipeline.
priority() - Method in enum class io.github.kaktushose.jdac.property.JDACScope
 
Priority - Enum Class in io.github.kaktushose.jdac.dispatching.middleware
Enum to define with witch priority a Middleware should be executed.
properties() - Method in class io.github.kaktushose.jdac.guice.internal.GuiceExtension
 
properties() - Method in interface io.github.kaktushose.jdac.property.extension.Extension
Gets a collection of JDACPropertyProviders this Extension provides.
property(JDACProperty) - Method in class io.github.kaktushose.jdac.JDACommands
Gets the value of a property.
PROVIDED - Static variable in interface io.github.kaktushose.jdac.property.JDACProperty
A collection consisting of all Propertys that are provided by JDA-Commands
providedInjector() - Method in record class io.github.kaktushose.jdac.guice.GuiceExtensionData
Returns the value of the providedInjector record component.
provider() - Element in annotation interface io.github.kaktushose.jdac.annotations.interactions.Choices
Returns the name of the choices provider method
PROVIDER_FUNC - Static variable in class io.github.kaktushose.jdac.message.i18n.internal.JDACLocalizationFunction
 
put(String, Object) - Method in class io.github.kaktushose.jdac.dispatching.context.KeyValueStore
Associates the specified value with the specified key.

Q

queueEvent(GenericInteractionCreateEvent) - Method in class io.github.kaktushose.jdac.dispatching.Runtime
 

R

rawArguments() - Method in record class io.github.kaktushose.jdac.dispatching.context.InvocationContext
Returns the value of the rawArguments record component.
rawArguments() - Method in record class io.github.kaktushose.jdac.dispatching.handling.EventHandler.PreparationResult
Returns the value of the rawArguments record component.
reflective(String...) - Static method in interface io.github.kaktushose.jdac.definitions.description.ClassFinder
This provides a reflections based implementation of ClassFinder
reflective(String...) - Static method in interface io.github.kaktushose.jdac.message.emoji.EmojiSource
This implementation of EmojiSource scans the classpath for emoji files under the given paths.
REFLECTIVE - Static variable in interface io.github.kaktushose.jdac.definitions.description.Descriptor
the default Descriptor, which builds ClassDescription using java.lang.reflect
ReflectiveClassFinder - Class in io.github.kaktushose.jdac.definitions.description.reflective
 
ReflectiveClassFinder(String[]) - Constructor for class io.github.kaktushose.jdac.definitions.description.reflective.ReflectiveClassFinder
 
ReflectiveDescriptor - Class in io.github.kaktushose.jdac.definitions.description.reflective
An Descriptor implementation that uses java.lang.reflect to create the ClassDescription.
ReflectiveDescriptor() - Constructor for class io.github.kaktushose.jdac.definitions.description.reflective.ReflectiveDescriptor
 
register(JDACIntrospectionImpl.Builder) - Method in class io.github.kaktushose.jdac.property.internal.extension.Extensions
 
registerAppEmojis(JDAContext, Collection) - Static method in class io.github.kaktushose.jdac.internal.Helpers
 
Registry - Class in io.github.kaktushose.jdac.property.internal
 
remove(String) - Method in class io.github.kaktushose.jdac.dispatching.context.KeyValueStore
Removes the value mapping for a key.
remove(String) - Method in interface io.github.kaktushose.jdac.embeds.Embed.Fields
Removes all fields with the given value.
remove(String, String) - Method in interface io.github.kaktushose.jdac.embeds.Embed.Fields
Removes all fields with the given name and value.
removeByName(String) - Method in interface io.github.kaktushose.jdac.embeds.Embed.Fields
Removes all fields with the given name.
removeComponents() - Method in class io.github.kaktushose.jdac.dispatching.events.interactions.ComponentEvent
Removes all components from the original message.
removeIf(String, Predicate) - Method in interface io.github.kaktushose.jdac.embeds.Embed.Fields
Removes all fields with the given name of this embed based on the given Predicate.
removeIf(Predicate) - Method in interface io.github.kaktushose.jdac.embeds.Embed.Fields
Removes all fields of this embed based on the given Predicate.
removeRuntime(String) - Method in class io.github.kaktushose.jdac.guice.internal.guice.RuntimeBoundScope
 
replace(String, MessageEmbed.Field) - Method in interface io.github.kaktushose.jdac.embeds.Embed.Fields
Replaces all fields of this embed with the given MessageEmbed.Field based on the given name.
replace(Predicate, MessageEmbed.Field) - Method in interface io.github.kaktushose.jdac.embeds.Embed.Fields
Replaces all fields of this embed based on the Predicate with the given MessageEmbed.Field.
replaceByValue(String, MessageEmbed.Field) - Method in interface io.github.kaktushose.jdac.embeds.Embed.Fields
Replaces all fields of this embed with the given MessageEmbed.Field based on the given value.
reply() - Method in class io.github.kaktushose.jdac.dispatching.events.interactions.ComponentEvent
No-op acknowledgement of this event with the V2 Components of the original reply.
reply() - Method in class io.github.kaktushose.jdac.dispatching.reply.EditableConfigurableReply
No-op acknowledgement of this event with the V2 Components of the original reply.
reply() - Method in class io.github.kaktushose.jdac.dispatching.reply.internal.ReplyAction
 
reply() - Method in class io.github.kaktushose.jdac.dispatching.reply.SendableReply
Sends the reply to Discord and blocks the current thread until the message was sent.
reply(String, Entry...) - Method in class io.github.kaktushose.jdac.dispatching.events.ReplyableEvent
Acknowledgement of this event with a text message.
reply(String, Entry...) - Method in class io.github.kaktushose.jdac.dispatching.reply.internal.ReplyAction
 
reply(String, Entry...) - Method in class io.github.kaktushose.jdac.dispatching.reply.MessageReply
Acknowledgement of this event with a text message.
reply(Collection, Entry...) - Method in class io.github.kaktushose.jdac.dispatching.events.ReplyableEvent
Acknowledgement of this event with V2 Components.
reply(Collection, Entry...) - Method in class io.github.kaktushose.jdac.dispatching.reply.ConfigurableReply
Acknowledgement of this event with V2 Components.
reply(Collection, Entry...) - Method in class io.github.kaktushose.jdac.dispatching.reply.internal.ReplyAction
 
reply(MessageTopLevelComponent, Entry...) - Method in class io.github.kaktushose.jdac.dispatching.events.ReplyableEvent
Acknowledgement of this event with V2 Components.
reply(MessageTopLevelComponent, Entry...) - Method in class io.github.kaktushose.jdac.dispatching.reply.ConfigurableReply
Acknowledgement of this event with V2 Components.
reply(MessageTopLevelComponent, Entry...) - Method in class io.github.kaktushose.jdac.dispatching.reply.internal.ReplyAction
 
reply(ComponentReplacer, Entry...) - Method in class io.github.kaktushose.jdac.dispatching.events.interactions.ComponentEvent
Acknowledgement of this event with the V2 Components of the original reply.
reply(ComponentReplacer, Entry...) - Method in class io.github.kaktushose.jdac.dispatching.reply.EditableConfigurableReply
Acknowledgement of this event with the V2 Components of the original reply.
reply(ComponentReplacer, ComponentReplacer, Entry...) - Method in class io.github.kaktushose.jdac.dispatching.reply.internal.ReplyAction
 
reply(MessageEmbed, MessageEmbed...) - Method in class io.github.kaktushose.jdac.dispatching.events.ReplyableEvent
Acknowledgement of this event with a MessageEmbed.
reply(MessageEmbed, MessageEmbed...) - Method in class io.github.kaktushose.jdac.dispatching.reply.internal.ReplyAction
 
reply(MessageCreateData) - Method in class io.github.kaktushose.jdac.dispatching.events.ReplyableEvent
Acknowledgement of this event with a MessageCreateData.
reply(MessageCreateData) - Method in class io.github.kaktushose.jdac.dispatching.reply.internal.ReplyAction
 
ReplyableEvent<T> - Class in io.github.kaktushose.jdac.dispatching.events
Subtype of Event that supports replying to the GenericInteractionCreateEvent with text messages.
ReplyableEvent() - Constructor for class io.github.kaktushose.jdac.dispatching.events.ReplyableEvent
 
replyAction - Variable in class io.github.kaktushose.jdac.dispatching.reply.MessageReply
 
ReplyAction - Class in io.github.kaktushose.jdac.dispatching.reply.internal
 
ReplyAction(InteractionDefinition.ReplyConfig) - Constructor for class io.github.kaktushose.jdac.dispatching.reply.internal.ReplyAction
 
replyChoice(String, double) - Method in class io.github.kaktushose.jdac.dispatching.events.interactions.AutoCompleteEvent
Reply with up to 25 choices which can be picked from by the user.
replyChoice(String, long) - Method in class io.github.kaktushose.jdac.dispatching.events.interactions.AutoCompleteEvent
Reply with up to 25 choices which can be picked from by the user.
replyChoice(String, String) - Method in class io.github.kaktushose.jdac.dispatching.events.interactions.AutoCompleteEvent
Reply with up to 25 choices which can be picked from by the user.
replyChoiceDoubles(double...) - Method in class io.github.kaktushose.jdac.dispatching.events.interactions.AutoCompleteEvent
Reply with up to 25 choices which can be picked from by the user.
replyChoiceDoubles(Collection) - Method in class io.github.kaktushose.jdac.dispatching.events.interactions.AutoCompleteEvent
Reply with up to 25 choices which can be picked from by the user.
replyChoiceLongs(long...) - Method in class io.github.kaktushose.jdac.dispatching.events.interactions.AutoCompleteEvent
Reply with up to 25 choices which can be picked from by the user.
replyChoiceLongs(Collection) - Method in class io.github.kaktushose.jdac.dispatching.events.interactions.AutoCompleteEvent
Reply with up to 25 choices which can be picked from by the user.
replyChoices(Collection) - Method in class io.github.kaktushose.jdac.dispatching.events.interactions.AutoCompleteEvent
Reply with up to 25 choices which can be picked from by the user.
replyChoices(Command.Choice...) - Method in class io.github.kaktushose.jdac.dispatching.events.interactions.AutoCompleteEvent
Reply with up to 25 choices which can be picked from by the user.
replyChoiceStrings(String...) - Method in class io.github.kaktushose.jdac.dispatching.events.interactions.AutoCompleteEvent
Reply with up to 25 choices which can be picked from by the user.
replyChoiceStrings(Collection) - Method in class io.github.kaktushose.jdac.dispatching.events.interactions.AutoCompleteEvent
Reply with up to 25 choices which can be picked from by the user.
replyConfig() - Method in record class io.github.kaktushose.jdac.dispatching.context.InvocationContext
Returns the value of the replyConfig record component.
replyConfig() - Method in class io.github.kaktushose.jdac.dispatching.reply.internal.ReplyAction
 
replyConfig(Invokable, InteractionDefinition.ReplyConfig) - Static method in class io.github.kaktushose.jdac.internal.Helpers
The InteractionDefinition.ReplyConfig that should be used when sending replies.
ReplyConfig - Annotation Interface in io.github.kaktushose.jdac.annotations.interactions
Used to configure the reply behaviour of interaction replies.
ReplyConfig() - Constructor for record class io.github.kaktushose.jdac.definitions.interactions.InteractionDefinition.ReplyConfig
Constructs a new InteractionDefinition.ReplyConfig using the following default values:
ReplyConfig(boolean, boolean, boolean, boolean, boolean, EnumSet) - Constructor for record class io.github.kaktushose.jdac.definitions.interactions.InteractionDefinition.ReplyConfig
Creates an instance of a ReplyConfig record class.
ReplyConfig(ReplyConfig) - Constructor for record class io.github.kaktushose.jdac.definitions.interactions.InteractionDefinition.ReplyConfig
Constructs a new ReplyConfig.
ReplyException - Exception Class in io.github.kaktushose.jdac.exceptions
Thrown if an interaction reply failed.
ReplyException(String) - Constructor for exception class io.github.kaktushose.jdac.exceptions.ReplyException
Constructs a new ReplyException.
ReplyException(String, Throwable) - Constructor for exception class io.github.kaktushose.jdac.exceptions.ReplyException
Constructs a new ReplyException.
replyModal(Class, String, Collection, Entry...) - Method in class io.github.kaktushose.jdac.dispatching.events.ModalReplyableEvent
Acknowledgement of this event with a Modal.
replyModal(Class, String, ModalTopLevelComponent, Entry...) - Method in class io.github.kaktushose.jdac.dispatching.events.ModalReplyableEvent
Acknowledgement of this event with a Modal.
replyModal(String, Collection, Entry...) - Method in class io.github.kaktushose.jdac.dispatching.events.ModalReplyableEvent
Acknowledgement of this event with a Modal.
replyModal(String, ModalTopLevelComponent, Entry...) - Method in class io.github.kaktushose.jdac.dispatching.events.ModalReplyableEvent
Acknowledgement of this event with a Modal.
requiresRange(int, int) - Method in class io.github.kaktushose.jdac.dispatching.reply.dynamic.menu.SelectMenuComponent
 
resolve(String) - Method in class io.github.kaktushose.jdac.message.emoji.EmojiResolver
Resolves the emoji aliases of a string according to the javadocs of this class.
resolve(String, Entry...) - Method in class io.github.kaktushose.jdac.dispatching.events.Event
Resolved the given message with help of the underlying MessageResolver instance, thus performing localization and emoji resolution.
resolve(String, Locale, Map) - Method in class io.github.kaktushose.jdac.message.emoji.EmojiResolver
 
resolve(String, Locale, Map) - Method in class io.github.kaktushose.jdac.message.i18n.I18n
This method returns the localized method found by the provided Locale and key in the given bundle.
resolve(String, Locale, Map) - Method in class io.github.kaktushose.jdac.message.placeholder.PlaceholderResolver
Resolves the given string according to the class docs.
resolve(String, Locale, Map) - Method in class io.github.kaktushose.jdac.message.resolver.MessageResolver
Applies all registered Resolver<String> to the given message with the passed locale and placeholders.
resolve(String, Map) - Method in class io.github.kaktushose.jdac.dispatching.events.Event
Resolved the given message with help of the underlying MessageResolver instance, thus performing localization and emoji resolution.
resolve(Collection, Locale, Map) - Method in class io.github.kaktushose.jdac.message.resolver.ComponentResolver
Resolves a Collection of Components.
resolve(DataObject, Locale, Map) - Method in class io.github.kaktushose.jdac.message.resolver.DataObjectResolver
Resolves a DataObject.
resolve(JsonNode, Locale, Map) - Method in class io.github.kaktushose.jdac.message.resolver.internal.JsonResolver
 
resolve(T, Locale, Entry...) - Method in interface io.github.kaktushose.jdac.message.resolver.Resolver
Resolves the given object for the provided locale.
resolve(T, Locale, Map) - Method in class io.github.kaktushose.jdac.message.resolver.ComponentResolver
Resolves a Component.
resolve(T, Locale, Map) - Method in interface io.github.kaktushose.jdac.message.resolver.Resolver
Resolves the given object for the provided locale.
resolve(T, DiscordLocale, Entry...) - Method in interface io.github.kaktushose.jdac.message.resolver.Resolver
Resolves the given object for the provided locale.
resolve(T, DiscordLocale, Map) - Method in interface io.github.kaktushose.jdac.message.resolver.Resolver
Resolves the given object for the provided locale.
resolvedType() - Method in record class io.github.kaktushose.jdac.definitions.interactions.command.OptionDataDefinition
Returns the value of the resolvedType record component.
resolver() - Method in class io.github.kaktushose.jdac.dispatching.reply.MessageReply
 
Resolver<T> - Interface in io.github.kaktushose.jdac.message.resolver
Common interface for all resolvers of JDA-Commands.
resource(String) - Static method in interface io.github.kaktushose.jdac.embeds.EmbedDataSource
Constructs a new EmbedDataSource using a JSON file that is located inside the resources folder.
RESOURCE_PATTERN - Static variable in interface io.github.kaktushose.jdac.message.emoji.EmojiSource
 
returnType() - Method in record class io.github.kaktushose.jdac.definitions.description.MethodDescription
Returns the value of the returnType record component.
root() - Method in record class io.github.kaktushose.jdac.internal.register.CommandTree
Returns the value of the root record component.
row(String...) - Static method in class io.github.kaktushose.jdac.dispatching.reply.Component
Creates an ActionRow from the passed components.
rules() - Method in record class io.github.kaktushose.jdac.definitions.interactions.AutoCompleteDefinition
Returns the value of the rules record component.
runFor() - Method in interface io.github.kaktushose.jdac.dispatching.middleware.Middleware
Declares the interaction controllers for which this middleware should run.
Runtime - Class in io.github.kaktushose.jdac.dispatching
A Runtime delegates the jda events to their corresponding EventHandler and manages the used virtual threads.
RUNTIME - Enum constant in enum class io.github.kaktushose.jdac.property.JDACScope
 
RUNTIME - Static variable in interface io.github.kaktushose.jdac.property.internal.JDACInternalProperties
 
RUNTIME_ID - Static variable in interface io.github.kaktushose.jdac.property.JDACProperty
The identifier bound to this runtime.
RuntimeBoundScope - Class in io.github.kaktushose.jdac.guice.internal.guice
 
RuntimeBoundScope() - Constructor for class io.github.kaktushose.jdac.guice.internal.guice.RuntimeBoundScope
 
RuntimeCloseEvent - Record Class in io.github.kaktushose.jdac.property.events
Published when a Runtime is started, e.g.
RuntimeCloseEvent(String) - Constructor for record class io.github.kaktushose.jdac.property.events.RuntimeCloseEvent
Creates an instance of a RuntimeCloseEvent record class.
runtimeId() - Method in record class io.github.kaktushose.jdac.definitions.interactions.CustomId
Gets the runtime id of this custom id.
runtimeId() - Method in class io.github.kaktushose.jdac.dispatching.events.Event
Returns the id of the Runtime this event is dispatched in.
runtimeId() - Method in record class io.github.kaktushose.jdac.property.events.RuntimeCloseEvent
Returns the value of the runtimeId record component.
runtimeIntrospection - Variable in class io.github.kaktushose.jdac.dispatching.handling.EventHandler
 
RuntimeOpenEvent - Record Class in io.github.kaktushose.jdac.property.events
Published when a Runtime is closed, e.g.
RuntimeOpenEvent(String) - Constructor for record class io.github.kaktushose.jdac.property.events.RuntimeOpenEvent
Creates an instance of a RuntimeOpenEvent record class.
RuntimeScopeModule - Class in io.github.kaktushose.jdac.guice.internal.guice.modules
 
RuntimeScopeModule(JDACIntrospection) - Constructor for class io.github.kaktushose.jdac.guice.internal.guice.modules.RuntimeScopeModule
 

S

scope() - Element in annotation interface io.github.kaktushose.jdac.annotations.interactions.CommandConfig
The CommandScope to use.
scope() - Method in record class io.github.kaktushose.jdac.definitions.interactions.command.CommandDefinition.CommandConfig
Returns the value of the scope record component.
scope() - Method in interface io.github.kaktushose.jdac.property.events.JDACEvent
 
scope(Key, Provider) - Method in class io.github.kaktushose.jdac.guice.internal.guice.RuntimeBoundScope
 
scope(CommandScope) - Method in class io.github.kaktushose.jdac.definitions.interactions.command.CommandDefinition.CommandConfig.Builder
 
scoped() - Method in class io.github.kaktushose.jdac.property.internal.JDACIntrospectionImpl
 
scopedEmbeds() - Static method in class io.github.kaktushose.jdac.property.internal.IntrospectionAccess
 
scopedGet(JDACProperty) - Static method in interface io.github.kaktushose.jdac.property.JDACIntrospection
Shorthand for accessScoped().get(property).
scopedI18n() - Static method in class io.github.kaktushose.jdac.property.internal.IntrospectionAccess
 
scopedInteractionRegistry() - Static method in class io.github.kaktushose.jdac.property.internal.IntrospectionAccess
 
scopedInvocationContext() - Static method in class io.github.kaktushose.jdac.property.internal.IntrospectionAccess
 
scopedJdaEvent() - Static method in class io.github.kaktushose.jdac.property.internal.IntrospectionAccess
 
scopedMessageResolver() - Static method in class io.github.kaktushose.jdac.property.internal.IntrospectionAccess
 
scopedReplyConfig() - Static method in class io.github.kaktushose.jdac.property.internal.IntrospectionAccess
 
scopedRuntime() - Static method in class io.github.kaktushose.jdac.property.internal.IntrospectionAccess
 
scopedUserLocale() - Static method in class io.github.kaktushose.jdac.property.internal.IntrospectionAccess
 
search(Class) - Method in interface io.github.kaktushose.jdac.definitions.description.ClassFinder
This method searches for classes annotated with the given annotation.
search(Class) - Method in class io.github.kaktushose.jdac.definitions.description.reflective.ReflectiveClassFinder
 
search(Class, Class) - Method in interface io.github.kaktushose.jdac.definitions.description.ClassFinder
This method searches for classes annotated with the given annotation, which have the given super type.
SelectMenuComponent<S,T,B,D> - Class in io.github.kaktushose.jdac.dispatching.reply.dynamic.menu
An implementation of Component specific to SelectMenu.
SelectMenuComponent(String, Class, Entry[]) - Constructor for class io.github.kaktushose.jdac.dispatching.reply.dynamic.menu.SelectMenuComponent
 
SelectMenuDefinition<T> - Interface in io.github.kaktushose.jdac.definitions.interactions.component.menu
Common interface for select menu definitions.
selectOptions() - Method in record class io.github.kaktushose.jdac.definitions.interactions.component.menu.StringSelectMenuDefinition
Returns the value of the selectOptions record component.
selectOptions(Collection) - Method in class io.github.kaktushose.jdac.dispatching.reply.dynamic.menu.StringSelectComponent
 
selectOptions(SelectOption...) - Method in class io.github.kaktushose.jdac.dispatching.reply.dynamic.menu.StringSelectComponent
 
selectTargets() - Method in record class io.github.kaktushose.jdac.definitions.interactions.component.menu.EntitySelectMenuDefinition
Returns the value of the selectTargets record component.
self() - Method in class io.github.kaktushose.jdac.dispatching.reply.Component
 
SendableReply - Class in io.github.kaktushose.jdac.dispatching.reply
Subtype of MessageReply that allows replying without message content (SendableReply.reply()).
SendableReply(MessageReply) - Constructor for class io.github.kaktushose.jdac.dispatching.reply.SendableReply
Constructs a new SendableReply.
setProperty(JDACProperty, Function) - Method in class io.github.kaktushose.jdac.JDACBuilder
Allows the dynamic configuration of JDA-Commands by setting JDACPropertys directly.
shutdown() - Method in class io.github.kaktushose.jdac.internal.JDAContext
Shutdown the underlying JDA or ShardManager instance
shutdown() - Method in class io.github.kaktushose.jdac.JDACommands
Shuts down this JDACommands instance, making it unable to receive any events from Discord.
SHUTDOWN_JDA - Static variable in interface io.github.kaktushose.jdac.property.JDACProperty
 
shutdownJDA(boolean) - Method in class io.github.kaktushose.jdac.JDACBuilder
Whether the JDA instance should be shutdown if the configuration/start of JDA-Commands fails or if JDACommands.shutdown() is called
silent() - Element in annotation interface io.github.kaktushose.jdac.annotations.interactions.ReplyConfig
Whether to suppress notifications of a message.
silent() - Method in record class io.github.kaktushose.jdac.definitions.interactions.InteractionDefinition.ReplyConfig
Returns the value of the silent record component.
silent(boolean) - Method in class io.github.kaktushose.jdac.definitions.interactions.InteractionDefinition.ReplyConfig.Builder
Whether to suppress notifications of a message.
silent(boolean) - Method in class io.github.kaktushose.jdac.dispatching.reply.ConfigurableReply
Whether to suppress notifications of this message.
silent(boolean) - Method in class io.github.kaktushose.jdac.dispatching.reply.internal.ReplyAction
 
SlashCommandDefinition - Record Class in io.github.kaktushose.jdac.definitions.interactions.command
Representation of a slash command.
SlashCommandDefinition(ClassDescription, MethodDescription, Collection, String, CommandDefinition.CommandConfig, String, SequencedCollection) - Constructor for record class io.github.kaktushose.jdac.definitions.interactions.command.SlashCommandDefinition
Creates an instance of a SlashCommandDefinition record class.
SlashCommandHandler - Class in io.github.kaktushose.jdac.dispatching.handling.command
 
SlashCommandHandler(JDACIntrospectionImpl) - Constructor for class io.github.kaktushose.jdac.dispatching.handling.command.SlashCommandHandler
 
source() - Element in annotation interface io.github.kaktushose.jdac.annotations.interactions.Choices
Returns the class of the provider method
source() - Method in record class io.github.kaktushose.jdac.dispatching.adapter.AdapterType
Returns the value of the source record component.
source() - Element in annotation interface io.github.kaktushose.jdac.guice.Implementation.TypeAdapter
Gets the Class this TypeAdapter will convert from.
sources() - Method in record class io.github.kaktushose.jdac.embeds.internal.Embeds
Returns the value of the sources record component.
sources(EmbedDataSource...) - Method in interface io.github.kaktushose.jdac.embeds.EmbedConfig
Adds a new EmbedDataSource that Embeds can be loaded from.
sources(EmbedDataSource...) - Method in class io.github.kaktushose.jdac.embeds.internal.Embeds.Configuration
 
start() - Method in class io.github.kaktushose.jdac.JDACBuilder
This method applies all found implementations of Extension, instantiates an instance of JDACommands and starts the framework.
start(JDA) - Static method in class io.github.kaktushose.jdac.JDACommands
Creates a new JDACommands instance and starts the frameworks, including scanning the classpath for annotated classes.
start(ShardManager) - Static method in class io.github.kaktushose.jdac.JDACommands
Creates a new JDACommands instance and starts the frameworks, including scanning the classpath for annotated classes.
startNew(String, JDACIntrospectionImpl, JDA) - Static method in class io.github.kaktushose.jdac.dispatching.Runtime
 
STRING_RESOLVER - Static variable in interface io.github.kaktushose.jdac.property.JDACProperty
 
StringMenu - Annotation Interface in io.github.kaktushose.jdac.annotations.interactions
Methods annotated with StringMenu will be registered as a StringSelectMenu at startup.
stringResolver(Resolver...) - Method in class io.github.kaktushose.jdac.JDACBuilder
Adds a Resolver in the resolution chain for strings provided by the user in annotations, components etc.
stringSelect(Class, String, Entry...) - Static method in class io.github.kaktushose.jdac.dispatching.reply.Component
Adds a StringSelectComponent to the reply.
stringSelect(String, Entry...) - Static method in class io.github.kaktushose.jdac.dispatching.reply.Component
Adds a StringSelectComponent to the reply.
StringSelectComponent - Class in io.github.kaktushose.jdac.dispatching.reply.dynamic.menu
An implementation of Component specific to StringSelectMenu
StringSelectComponent(String, Class, Entry[]) - Constructor for class io.github.kaktushose.jdac.dispatching.reply.dynamic.menu.StringSelectComponent
 
StringSelectMenuDefinition - Record Class in io.github.kaktushose.jdac.definitions.interactions.component.menu
Representation of a string select menu.
StringSelectMenuDefinition(ClassDescription, MethodDescription, Collection, SequencedCollection, String, int, int, Integer) - Constructor for record class io.github.kaktushose.jdac.definitions.interactions.component.menu.StringSelectMenuDefinition
Creates an instance of a StringSelectMenuDefinition record class.
StringSelectMenuDefinition.MenuOptionDefinition - Record Class in io.github.kaktushose.jdac.definitions.interactions.component.menu
Representation of a select option for a string select menu defined by a MenuOption.
style() - Element in annotation interface io.github.kaktushose.jdac.annotations.interactions.Button
Gets the ButtonStyle.
style() - Method in record class io.github.kaktushose.jdac.definitions.interactions.component.ButtonDefinition
Returns the value of the style record component.
style(ButtonStyle) - Method in class io.github.kaktushose.jdac.dispatching.reply.dynamic.ButtonComponent
 
subscribe(Listener) - Method in interface io.github.kaktushose.jdac.property.JDACIntrospection
Subscribes to an event with the given Listener.
Success(Validator) - Constructor for record class io.github.kaktushose.jdac.dispatching.validation.internal.Validators.Result.Success
Creates an instance of a Success record class.
supportedTypes() - Method in record class io.github.kaktushose.jdac.dispatching.validation.internal.Validators.Result.UnsupportedType
Returns the value of the supportedTypes record component.

T

target() - Method in record class io.github.kaktushose.jdac.dispatching.adapter.AdapterType
Returns the value of the target record component.
target() - Element in annotation interface io.github.kaktushose.jdac.guice.Implementation.TypeAdapter
Gets the Class this TypeAdapter will convert into.
test(ServiceLoader.Provider) - Method in record class io.github.kaktushose.jdac.property.extension.ExtensionFilter
Tests whether an Extension should be used or not according to this filter.
thumbnail(String) - Method in class io.github.kaktushose.jdac.embeds.Embed
Sets the Thumbnail of the embed.
timestamp(TemporalAccessor) - Method in class io.github.kaktushose.jdac.embeds.Embed
Sets the Timestamp of the embed.
title() - Method in record class io.github.kaktushose.jdac.definitions.interactions.ModalDefinition
Returns the value of the title record component.
title(String) - Method in class io.github.kaktushose.jdac.embeds.Embed
Sets the Title of the embed.
title(String, String) - Method in class io.github.kaktushose.jdac.embeds.Embed
Sets the Title of the embed.
toJDAEntity() - Method in interface io.github.kaktushose.jdac.definitions.features.JDAEntity
Transforms this Definition into a JDA entity of the given type T.
toJDAEntity() - Method in record class io.github.kaktushose.jdac.definitions.interactions.command.ContextCommandDefinition
Transforms this definition into CommandData.
toJDAEntity() - Method in record class io.github.kaktushose.jdac.definitions.interactions.command.OptionDataDefinition
Transforms this definition into OptionData.
toJDAEntity() - Method in record class io.github.kaktushose.jdac.definitions.interactions.command.SlashCommandDefinition
Transforms this definition into SlashCommandData.
toJDAEntity() - Method in record class io.github.kaktushose.jdac.definitions.interactions.component.ButtonDefinition
Transforms this definition to an Button with an independent custom id.
toJDAEntity() - Method in record class io.github.kaktushose.jdac.definitions.interactions.component.menu.EntitySelectMenuDefinition
Transforms this definition to an EntitySelectMenu with an independent custom id.
toJDAEntity() - Method in record class io.github.kaktushose.jdac.definitions.interactions.component.menu.StringSelectMenuDefinition.MenuOptionDefinition
Transforms this definition into a SelectOption.
toJDAEntity() - Method in record class io.github.kaktushose.jdac.definitions.interactions.component.menu.StringSelectMenuDefinition
Transforms this definition to an StringSelectMenu with an independent custom id.
toJDAEntity(CustomId) - Method in interface io.github.kaktushose.jdac.definitions.features.CustomIdJDAEntity
Transforms this Definition into a JDA entity of the given type T.
toJDAEntity(CustomId) - Method in record class io.github.kaktushose.jdac.definitions.interactions.component.ButtonDefinition
Transforms this definition to an Button with the given CustomId.
toJDAEntity(CustomId) - Method in record class io.github.kaktushose.jdac.definitions.interactions.component.menu.EntitySelectMenuDefinition
Transforms this definition to an EntitySelectMenu with the given CustomId.
toJDAEntity(CustomId) - Method in record class io.github.kaktushose.jdac.definitions.interactions.component.menu.StringSelectMenuDefinition
Transforms this definition to an StringSelectMenu with the given CustomId.
toJDAEntity(CustomId) - Method in record class io.github.kaktushose.jdac.definitions.interactions.ModalDefinition
Transforms this definition to an Modal with the given custom id.
toMap(Entry...) - Static method in record class io.github.kaktushose.jdac.message.placeholder.Entry
Takes a varargs array of Entries and transforms it into a Map, where Entry.name() is the key Entry.value() will be mapped to.
toMessageCreateData() - Method in class io.github.kaktushose.jdac.embeds.Embed
Transforms this embed into MessageCreateData.
toMessageEditData() - Method in class io.github.kaktushose.jdac.embeds.Embed
Transforms this embed into MessageEditData.
toMethodType() - Method in record class io.github.kaktushose.jdac.definitions.description.MethodDescription
 
toSlashCommandData(LocalizationFunction) - Method in record class io.github.kaktushose.jdac.internal.register.TreeNode
Transforms this TreeNode into SlashCommandData.
toString() - Method in record class io.github.kaktushose.jdac.definitions.description.AnnotationDescription
Returns a string representation of this record class.
toString() - Method in record class io.github.kaktushose.jdac.definitions.description.ClassDescription
Returns a string representation of this record class.
toString() - Method in record class io.github.kaktushose.jdac.definitions.description.MethodDescription
Returns a string representation of this record class.
toString() - Method in record class io.github.kaktushose.jdac.definitions.description.PackageDescription
Returns a string representation of this record class.
toString() - Method in record class io.github.kaktushose.jdac.definitions.description.ParameterDescription
Returns a string representation of this record class.
toString() - Method in record class io.github.kaktushose.jdac.definitions.interactions.AutoCompleteDefinition.AutoCompleteRule
Returns a string representation of this record class.
toString() - Method in record class io.github.kaktushose.jdac.definitions.interactions.AutoCompleteDefinition
Returns a string representation of this record class.
toString() - Method in record class io.github.kaktushose.jdac.definitions.interactions.command.CommandDefinition.CommandConfig
Returns a string representation of this record class.
toString() - Method in record class io.github.kaktushose.jdac.definitions.interactions.command.ContextCommandDefinition
Returns a string representation of this record class.
toString() - Method in record class io.github.kaktushose.jdac.definitions.interactions.command.OptionDataDefinition.ConstraintDefinition
Returns a string representation of this record class.
toString() - Method in record class io.github.kaktushose.jdac.definitions.interactions.command.OptionDataDefinition
Returns a string representation of this record class.
toString() - Method in record class io.github.kaktushose.jdac.definitions.interactions.command.SlashCommandDefinition
Returns a string representation of this record class.
toString() - Method in record class io.github.kaktushose.jdac.definitions.interactions.component.ButtonDefinition
Returns a string representation of this record class.
toString() - Method in record class io.github.kaktushose.jdac.definitions.interactions.component.menu.EntitySelectMenuDefinition
Returns a string representation of this record class.
toString() - Method in record class io.github.kaktushose.jdac.definitions.interactions.component.menu.StringSelectMenuDefinition.MenuOptionDefinition
Returns a string representation of this record class.
toString() - Method in record class io.github.kaktushose.jdac.definitions.interactions.component.menu.StringSelectMenuDefinition
Returns a string representation of this record class.
toString() - Method in record class io.github.kaktushose.jdac.definitions.interactions.CustomId
Returns a string representation of this record class.
toString() - Method in record class io.github.kaktushose.jdac.definitions.interactions.InteractionDefinition.ReplyConfig
Returns a string representation of this record class.
toString() - Method in record class io.github.kaktushose.jdac.definitions.interactions.InteractionRegistry
Returns a string representation of this record class.
toString() - Method in record class io.github.kaktushose.jdac.definitions.interactions.MethodBuildContext
Returns a string representation of this record class.
toString() - Method in record class io.github.kaktushose.jdac.definitions.interactions.ModalDefinition
Returns a string representation of this record class.
toString() - Method in record class io.github.kaktushose.jdac.dispatching.adapter.AdapterType
Returns a string representation of this record class.
toString() - Method in record class io.github.kaktushose.jdac.dispatching.context.InvocationContext
Returns a string representation of this record class.
toString() - Method in record class io.github.kaktushose.jdac.dispatching.expiration.ExpirationStrategy.Explicit
Returns a string representation of this record class.
toString() - Method in record class io.github.kaktushose.jdac.dispatching.expiration.ExpirationStrategy.Inactivity
Returns a string representation of this record class.
toString() - Method in record class io.github.kaktushose.jdac.dispatching.handling.EventHandler.PreparationResult
Returns a string representation of this record class.
toString() - Method in record class io.github.kaktushose.jdac.dispatching.validation.internal.Validators.Result.DiscordHandled
Returns a string representation of this record class.
toString() - Method in record class io.github.kaktushose.jdac.dispatching.validation.internal.Validators.Result.NotFound
Returns a string representation of this record class.
toString() - Method in record class io.github.kaktushose.jdac.dispatching.validation.internal.Validators.Result.Success
Returns a string representation of this record class.
toString() - Method in record class io.github.kaktushose.jdac.dispatching.validation.internal.Validators.Result.UnsupportedType
Returns a string representation of this record class.
toString() - Method in record class io.github.kaktushose.jdac.embeds.internal.Embeds
Returns a string representation of this record class.
toString() - Method in record class io.github.kaktushose.jdac.guice.GuiceExtensionData
Returns a string representation of this record class.
toString() - Method in record class io.github.kaktushose.jdac.internal.register.CommandTree
Returns a string representation of this record class.
toString() - Method in record class io.github.kaktushose.jdac.internal.register.TreeNode
Returns a string representation of this record class.
toString() - Method in record class io.github.kaktushose.jdac.message.placeholder.Entry
Returns a string representation of this record class.
toString() - Method in record class io.github.kaktushose.jdac.property.events.FrameworkShutdownEvent
Returns a string representation of this record class.
toString() - Method in record class io.github.kaktushose.jdac.property.events.FrameworkStartEvent
Returns a string representation of this record class.
toString() - Method in record class io.github.kaktushose.jdac.property.events.InteractionFinishedEvent
Returns a string representation of this record class.
toString() - Method in record class io.github.kaktushose.jdac.property.events.InteractionStartEvent
Returns a string representation of this record class.
toString() - Method in record class io.github.kaktushose.jdac.property.events.RuntimeCloseEvent
Returns a string representation of this record class.
toString() - Method in record class io.github.kaktushose.jdac.property.events.RuntimeOpenEvent
Returns a string representation of this record class.
toString() - Method in record class io.github.kaktushose.jdac.property.extension.ExtensionException.Information
Returns a string representation of this record class.
toString() - Method in record class io.github.kaktushose.jdac.property.extension.ExtensionFilter
Returns a string representation of this record class.
toSubcommandData(String) - Method in record class io.github.kaktushose.jdac.definitions.interactions.command.SlashCommandDefinition
Transforms this definition into SubcommandData.
TreeNode - Record Class in io.github.kaktushose.jdac.internal.register
Single node inside the CommandTree.
TreeNode(String, SlashCommandDefinition) - Constructor for record class io.github.kaktushose.jdac.internal.register.TreeNode
Constructs a new TreeNode.
TreeNode(String, SlashCommandDefinition, List) - Constructor for record class io.github.kaktushose.jdac.internal.register.TreeNode
Creates an instance of a TreeNode record class.
type() - Element in annotation interface io.github.kaktushose.jdac.annotations.interactions.Command
Gets the type of this command.
type() - Element in annotation interface io.github.kaktushose.jdac.annotations.interactions.Param
Returns the OptionType of this command option.
type() - Method in record class io.github.kaktushose.jdac.definitions.description.AnnotationDescription
 
type() - Method in record class io.github.kaktushose.jdac.definitions.description.ParameterDescription
Returns the value of the type record component.
TYPE_ADAPTER - Static variable in interface io.github.kaktushose.jdac.property.JDACProperty
The TYPE_ADAPTER property maps AdapterTypes containing the source and targets Types to their associated TypeAdapter
TYPE_ADAPTERS - Static variable in interface io.github.kaktushose.jdac.property.internal.JDACInternalProperties
 
TypeAdapter<S,T> - Interface in io.github.kaktushose.jdac.dispatching.adapter
Generic top level interface for type adapting.
TypeAdapters - Class in io.github.kaktushose.jdac.dispatching.adapter.internal
Central registry for all type adapters.
TypeAdapters(Map, MessageResolver) - Constructor for class io.github.kaktushose.jdac.dispatching.adapter.internal.TypeAdapters
Constructs a new TypeAdapters.
typeArguments() - Method in record class io.github.kaktushose.jdac.definitions.description.ParameterDescription
Returns the value of the typeArguments record component.

U

uniqueId - Variable in class io.github.kaktushose.jdac.dispatching.reply.Component
 
uniqueId() - Element in annotation interface io.github.kaktushose.jdac.annotations.interactions.Button
The uniqueId of this component.
uniqueId() - Element in annotation interface io.github.kaktushose.jdac.annotations.interactions.EntityMenu
The uniqueId of this component.
uniqueId() - Element in annotation interface io.github.kaktushose.jdac.annotations.interactions.StringMenu
The uniqueId of this component.
uniqueId() - Method in record class io.github.kaktushose.jdac.definitions.interactions.component.ButtonDefinition
Returns the value of the uniqueId record component.
uniqueId() - Method in interface io.github.kaktushose.jdac.definitions.interactions.component.ComponentDefinition
The uniqueId of this component.
uniqueId() - Method in record class io.github.kaktushose.jdac.definitions.interactions.component.menu.EntitySelectMenuDefinition
Returns the value of the uniqueId record component.
uniqueId() - Method in record class io.github.kaktushose.jdac.definitions.interactions.component.menu.StringSelectMenuDefinition
Returns the value of the uniqueId record component.
UnspecificComponent - Class in io.github.kaktushose.jdac.dispatching.reply.dynamic.internal
 
UnspecificComponent(boolean, boolean, String, Class, Entry[]) - Constructor for class io.github.kaktushose.jdac.dispatching.reply.dynamic.internal.UnspecificComponent
 
UnsupportedType(Collection) - Constructor for record class io.github.kaktushose.jdac.dispatching.validation.internal.Validators.Result.UnsupportedType
Creates an instance of a UnsupportedType record class.
updateAllCommands() - Method in class io.github.kaktushose.jdac.internal.register.CommandUpdater
Sends the SlashCommandData to Discord.
updateGlobalCommands() - Method in class io.github.kaktushose.jdac.internal.register.CommandUpdater
updateGuildCommands() - Method in class io.github.kaktushose.jdac.JDACommands
Updates all slash commands that are registered with CommandScope.GUILD
updateGuildCommands(Collection) - Method in class io.github.kaktushose.jdac.internal.register.CommandUpdater
Sends the guild scope SlashCommandData to Discord.
updateGuildCommands(Collection) - Method in class io.github.kaktushose.jdac.JDACommands
Updates all slash commands that are registered with CommandScope.GUILD for the given Guilds.
url(String) - Method in class io.github.kaktushose.jdac.embeds.Embed
Sets the URL of the embed.
url(String) - Method in class io.github.kaktushose.jdac.dispatching.reply.dynamic.ButtonComponent
 

V

validator() - Method in record class io.github.kaktushose.jdac.definitions.interactions.command.OptionDataDefinition.ConstraintDefinition
Returns the value of the validator record component.
validator() - Method in record class io.github.kaktushose.jdac.dispatching.validation.internal.Validators.Result.Success
Returns the value of the validator record component.
validator(Class, Validator) - Method in class io.github.kaktushose.jdac.JDACBuilder
 
Validator<T,A> - Interface in io.github.kaktushose.jdac.dispatching.validation
Validators check if a command option fulfills the given constraint.
VALIDATOR - Static variable in interface io.github.kaktushose.jdac.property.JDACProperty
The VALIDATOR property maps a Validator to its identifying annotation.
Validator.Context - Class in io.github.kaktushose.jdac.dispatching.validation
This context provides access to the InvocationContext of this interaction and has some utility methods useful for error messages.
validators() - Method in record class io.github.kaktushose.jdac.definitions.interactions.InteractionRegistry
Returns the value of the validators record component.
validators() - Method in record class io.github.kaktushose.jdac.definitions.interactions.MethodBuildContext
Returns the value of the validators record component.
Validators - Class in io.github.kaktushose.jdac.dispatching.validation.internal
Central registry for all Validators.
Validators(Map) - Constructor for class io.github.kaktushose.jdac.dispatching.validation.internal.Validators
Constructs a new Validators.
Validators.Result - Interface in io.github.kaktushose.jdac.dispatching.validation.internal
 
Validators.Result.DiscordHandled - Record Class in io.github.kaktushose.jdac.dispatching.validation.internal
This currently only applies to Min and Max
Validators.Result.NotFound - Record Class in io.github.kaktushose.jdac.dispatching.validation.internal
 
Validators.Result.Success - Record Class in io.github.kaktushose.jdac.dispatching.validation.internal
 
Validators.Result.UnsupportedType - Record Class in io.github.kaktushose.jdac.dispatching.validation.internal
 
value() - Element in annotation interface io.github.kaktushose.jdac.annotations.constraints.Constraint
Returns an array of all types this annotation can be used for.
value() - Element in annotation interface io.github.kaktushose.jdac.annotations.constraints.Max
Returns the value the element must be less or equal to.
value() - Element in annotation interface io.github.kaktushose.jdac.annotations.constraints.Min
Returns the value the element must be greater or equal to.
value() - Element in annotation interface io.github.kaktushose.jdac.annotations.constraints.NotPerm
Returns the discord permission(s) the Member must not have.
value() - Element in annotation interface io.github.kaktushose.jdac.annotations.constraints.Perm
Returns the discord permission(s) the Member must have.
value() - Element in annotation interface io.github.kaktushose.jdac.annotations.i18n.Bundle
the name of the bundle to use
value() - Element in annotation interface io.github.kaktushose.jdac.annotations.interactions.AutoComplete
Returns the name of the slash commands this autocomplete should handle.
value() - Element in annotation interface io.github.kaktushose.jdac.annotations.interactions.Button
Gets the label of the button.
value() - Element in annotation interface io.github.kaktushose.jdac.annotations.interactions.Choices
Returns the choices of a command option.
value() - Element in annotation interface io.github.kaktushose.jdac.annotations.interactions.Command
Returns the name of the command.
value() - Element in annotation interface io.github.kaktushose.jdac.annotations.interactions.EntityMenu
value() - Element in annotation interface io.github.kaktushose.jdac.annotations.interactions.Interaction
Returns the base name for slash commands.
value() - Element in annotation interface io.github.kaktushose.jdac.annotations.interactions.MenuOption
Gets the value of an option.
value() - Element in annotation interface io.github.kaktushose.jdac.annotations.interactions.MenuOptionContainer
 
value() - Element in annotation interface io.github.kaktushose.jdac.annotations.interactions.Modal
Gets the title of this modal.
value() - Element in annotation interface io.github.kaktushose.jdac.annotations.interactions.Param
Returns the description of the command option.
value() - Element in annotation interface io.github.kaktushose.jdac.annotations.interactions.Permissions
Returns a String array of all required permissions.
value() - Element in annotation interface io.github.kaktushose.jdac.annotations.interactions.StringMenu
Configure the placeholder which is displayed when no selections have been made yet.
value() - Element in annotation interface io.github.kaktushose.jdac.annotations.IntrospectionAccess
The JDACScope of the available JDACIntrospection instance.
value() - Method in record class io.github.kaktushose.jdac.definitions.description.AnnotationDescription
Returns the value of the value record component.
value() - Method in record class io.github.kaktushose.jdac.definitions.interactions.component.menu.StringSelectMenuDefinition.MenuOptionDefinition
Returns the value of the value record component.
value() - Method in record class io.github.kaktushose.jdac.message.placeholder.Entry
Returns the value of the value record component.
value() - Element in annotation interface io.github.kaktushose.jdac.property.internal.Event
 
value(int) - Method in class io.github.kaktushose.jdac.dispatching.events.interactions.ModalEvent
Convenience method to get a ModalMapping by its numeric id from the List of ModalMappings
value(int, Class) - Method in class io.github.kaktushose.jdac.dispatching.events.interactions.ModalEvent
Convenience method to get the value of a TextInput and convert it to the given type T via Proteus.
value(String) - Method in class io.github.kaktushose.jdac.dispatching.events.interactions.ModalEvent
Convenience method to get a ModalMapping by its id from the List of ModalMappings.
value(String, Class) - Method in class io.github.kaktushose.jdac.dispatching.events.interactions.ModalEvent
Convenience method to get the value of a TextInput and convert it to the given type T via Proteus.
valueOf(String) - Static method in enum class io.github.kaktushose.jdac.annotations.interactions.CommandScope
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class io.github.kaktushose.jdac.dispatching.middleware.Priority
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class io.github.kaktushose.jdac.property.extension.ExtensionFilter.FilterStrategy
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class io.github.kaktushose.jdac.property.JDACScope
Returns the enum constant of this class with the specified name.
values() - Static method in enum class io.github.kaktushose.jdac.annotations.interactions.CommandScope
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Method in class io.github.kaktushose.jdac.dispatching.events.interactions.ModalEvent
Returns a List of ModalMappings representing the values input by the user for each field when the modal was submitted.
values() - Static method in enum class io.github.kaktushose.jdac.dispatching.middleware.Priority
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class io.github.kaktushose.jdac.property.extension.ExtensionFilter.FilterStrategy
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class io.github.kaktushose.jdac.property.JDACScope
Returns an array containing the constants of this enum class, in the order they are declared.

W

with() - Method in class io.github.kaktushose.jdac.dispatching.events.interactions.ComponentEvent
 
with() - Method in class io.github.kaktushose.jdac.dispatching.events.ReplyableEvent
Entry point for configuring a reply.
with(String, Collection) - Method in record class io.github.kaktushose.jdac.definitions.interactions.ModalDefinition
Builds a new ModalDefinition with the given values.
with(String, Emoji, String, ButtonStyle, Integer) - Method in record class io.github.kaktushose.jdac.definitions.interactions.component.ButtonDefinition
Builds a new ButtonDefinition with the given values
with(Set, Set, Set, String, Integer, Integer, Integer) - Method in record class io.github.kaktushose.jdac.definitions.interactions.component.menu.EntitySelectMenuDefinition
Builds a new EntitySelectMenuDefinition with the given values.
with(SequencedCollection, Collection, String, Integer, Integer, Integer) - Method in record class io.github.kaktushose.jdac.definitions.interactions.component.menu.StringSelectMenuDefinition
Builds a new StringSelectMenuDefinition with the given values.
withUniqueId(int) - Method in class io.github.kaktushose.jdac.dispatching.reply.Component
 
A B C D E F G H I J K L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form