Index

A B C D E F G H I M O P R S T U V W X 
All Classes and Interfaces|All Packages|Serialized Form

A

addButtonMappings(IdMapping<ButtonHandler>...) - Method in class xyz.dynxsty.dih4jda.DIH4JDA
Binds all ButtonHandlers to their id using IdMapping
addContextCommands(ContextCommand<?>...) - Method in class xyz.dynxsty.dih4jda.DIH4JDA
Manually registers ContextCommands.
addEntitySelectMenuMappings(IdMapping<EntitySelectMenuHandler>...) - Method in class xyz.dynxsty.dih4jda.DIH4JDA
Binds all EntitySelectMenuHandlers to their id,
addEventListener(Object...) - Method in class xyz.dynxsty.dih4jda.DIH4JDA
Allows to add Listener classes (that implements DIH4JDAEventListener).
addModalMappings(IdMapping<ModalHandler>...) - Method in class xyz.dynxsty.dih4jda.DIH4JDA
Binds all ModalHandlers to their id.
addSlashCommands(SlashCommand...) - Method in class xyz.dynxsty.dih4jda.DIH4JDA
Manually registers SlashCommands.
addStringSelectMenuMappings(IdMapping<StringSelectMenuHandler>...) - Method in class xyz.dynxsty.dih4jda.DIH4JDA
Binds all StringSelectMenuHandlers to their id.
addSubcommandGroups(SlashCommand.SubcommandGroup...) - Method in class xyz.dynxsty.dih4jda.interactions.commands.application.SlashCommand
Sets all Subcommand Groups that belong to this "base" command.
addSubcommands(SlashCommand.Subcommand...) - Method in class xyz.dynxsty.dih4jda.interactions.commands.application.SlashCommand
Sets all Subcommands that belong to this "base" command.
ApplicationCommand<E extends net.dv8tion.jda.api.events.interaction.command.GenericCommandInteractionEvent,T> - Class in xyz.dynxsty.dih4jda.interactions.commands.application
Model class for all Application Commands.
ApplicationCommand() - Constructor for class xyz.dynxsty.dih4jda.interactions.commands.application.ApplicationCommand
 
applyCooldown(long, Instant) - Method in class xyz.dynxsty.dih4jda.interactions.commands.RestrictedCommand
Manually applies a cooldown for the specified user id.
Command Cooldowns DO NOT persist between sessions!
ArrayUtil - Class in xyz.dynxsty.dih4jda.util
Utility class that contains some useful methods regarding the arrays.
asCommand() - Method in class xyz.dynxsty.dih4jda.interactions.commands.application.SlashCommand
Gets the corresponding JDA entity for this command.
asSubcommand() - Method in class xyz.dynxsty.dih4jda.interactions.commands.application.SlashCommand.Subcommand
Gets the corresponding JDA-entity for this subcommand.
AutoCompletable - Interface in xyz.dynxsty.dih4jda.interactions
Interface for commands that handle the CommandAutoCompleteInteractionEvent.
AutoCompleteExceptionEvent - Class in xyz.dynxsty.dih4jda.events
An event that gets fired when an exception gets raised while handling an autocomplete interaction.
AutoCompleteExceptionEvent(DIH4JDA, CommandAutoCompleteInteraction, Throwable) - Constructor for class xyz.dynxsty.dih4jda.events.AutoCompleteExceptionEvent
 
AutoCompleteUtils - Class in xyz.dynxsty.dih4jda.util
Utility class that contains some useful methods regarding the AutoComplete system.

B

BaseApplicationCommand<E extends net.dv8tion.jda.api.events.interaction.command.GenericCommandInteractionEvent,T> - Class in xyz.dynxsty.dih4jda.interactions.commands.application
An extension of ApplicationCommand which contains a RegistrationType and BaseApplicationCommand.queueableGuilds.
BaseApplicationCommand() - Constructor for class xyz.dynxsty.dih4jda.interactions.commands.application.BaseApplicationCommand
 
build() - Method in class xyz.dynxsty.dih4jda.DIH4JDABuilder
Returns a DIH4JDA instance that has been validated.
build(String, Object...) - Static method in class xyz.dynxsty.dih4jda.util.ComponentIdBuilder
Builds a component-id using the (set) separator and the given identifier and arguments.
buildCommandPath(String...) - Static method in class xyz.dynxsty.dih4jda.util.CommandUtils
Used to create one command name out of the SlashCommand, SlashSubCommandGroup and SlashSubCommand
BUTTON_NOT_FOUND - Enum constant in enum class xyz.dynxsty.dih4jda.DIH4JDALogger.Type
 
ButtonHandler - Interface in xyz.dynxsty.dih4jda.interactions.components
An interface that contains the method that should be executed when a user interacts with a Button.

C

checkEmptyConstructor(Class<?>) - Static method in class xyz.dynxsty.dih4jda.util.Checks
Checks if the given class has an empty constructor.
checkImplementation(Class<?>, Class<?>) - Static method in class xyz.dynxsty.dih4jda.util.Checks
Checks if the given base class implements a certain class.
Checks - Class in xyz.dynxsty.dih4jda.util
Utility class for checking certain conditions.
ClasspathHelper - Class in xyz.dynxsty.dih4jda.util
Utility class for finding classes on the classpath.
ClassUtils - Class in xyz.dynxsty.dih4jda.util
Utility class for working with classes.
ClassWalker - Class in xyz.dynxsty.dih4jda.util
A class that provides you with the ability to get all classes inside a specific package.
ClassWalker(String) - Constructor for class xyz.dynxsty.dih4jda.util.ClassWalker
 
CommandCooldownEvent - Class in xyz.dynxsty.dih4jda.events
An event that gets fired when the user, which invoked the command, is not yet able to use this command due to a specified Command Cooldown
CommandCooldownEvent(DIH4JDA, CommandInteraction, RestrictedCommand.Cooldown) - Constructor for class xyz.dynxsty.dih4jda.events.CommandCooldownEvent
 
CommandExceptionEvent - Class in xyz.dynxsty.dih4jda.events
An event that gets fired when an exception gets raised while executing any command.
CommandExceptionEvent(DIH4JDA, CommandInteraction, Throwable) - Constructor for class xyz.dynxsty.dih4jda.events.CommandExceptionEvent
 
CommandNotRegisteredException - Exception Class in xyz.dynxsty.dih4jda.exceptions
 
CommandNotRegisteredException(String) - Constructor for exception class xyz.dynxsty.dih4jda.exceptions.CommandNotRegisteredException
 
COMMANDS_QUEUED - Enum constant in enum class xyz.dynxsty.dih4jda.DIH4JDALogger.Type
 
CommandUtils - Class in xyz.dynxsty.dih4jda.util
A utility class that contains some useful methods regarding command data.
ComponentExceptionEvent - Class in xyz.dynxsty.dih4jda.events
An event that gets fired when an exception gets raised while interacting with a message component.
ComponentExceptionEvent(DIH4JDA, ComponentInteraction, Throwable) - Constructor for class xyz.dynxsty.dih4jda.events.ComponentExceptionEvent
 
ComponentIdBuilder - Class in xyz.dynxsty.dih4jda.util
Utility class that allows for easy and consistent Component-ID building.
contains(Object[], Object) - Static method in class xyz.dynxsty.dih4jda.util.ArrayUtil
Checks if the given search object is inside the given array.
CONTEXT_COMMAND_REGISTERED - Enum constant in enum class xyz.dynxsty.dih4jda.DIH4JDALogger.Type
 
CONTEXT_COMMAND_SKIPPED - Enum constant in enum class xyz.dynxsty.dih4jda.DIH4JDALogger.Type
 
ContextCommand<E extends net.dv8tion.jda.api.events.interaction.command.GenericCommandInteractionEvent> - Class in xyz.dynxsty.dih4jda.interactions.commands.application
Model class which represents a single Context Command.
ContextCommand.Message - Class in xyz.dynxsty.dih4jda.interactions.commands.application
 
ContextCommand.User - Class in xyz.dynxsty.dih4jda.interactions.commands.application
 

D

debug(String, Object...) - Static method in class xyz.dynxsty.dih4jda.DIH4JDALogger
 
debug(DIH4JDALogger.Type, String, Object...) - Static method in class xyz.dynxsty.dih4jda.DIH4JDALogger
 
DEBUG - Enum constant in enum class xyz.dynxsty.dih4jda.DIH4JDALogger.Type
 
DIH4JDA - Class in xyz.dynxsty.dih4jda
DIH4JDA:
Creating a new DIH4JDA instance:
DIH4JDABuilder - Class in xyz.dynxsty.dih4jda
Builder-System used to build DIH4JDA.
DIH4JDAConfig - Class in xyz.dynxsty.dih4jda.config
Simple data class which represents the config of a single DIH4JDA instance.
DIH4JDAConfig() - Constructor for class xyz.dynxsty.dih4jda.config.DIH4JDAConfig
 
DIH4JDAEvent<I extends net.dv8tion.jda.api.interactions.Interaction> - Class in xyz.dynxsty.dih4jda.events
A generic event, which holds the events' name, the DIH4JDA instance and the follow-up interaction.
DIH4JDAEventListener - Interface in xyz.dynxsty.dih4jda.events
An interface containing all events and their method that DIH4JDA can fire.
DIH4JDAException - Exception Class in xyz.dynxsty.dih4jda.exceptions
Exception that is thrown for everything that is related to DIH4JDA.
DIH4JDAException(String) - Constructor for exception class xyz.dynxsty.dih4jda.exceptions.DIH4JDAException
 
DIH4JDAException(String, Throwable) - Constructor for exception class xyz.dynxsty.dih4jda.exceptions.DIH4JDAException
 
DIH4JDAException(Throwable) - Constructor for exception class xyz.dynxsty.dih4jda.exceptions.DIH4JDAException
 
DIH4JDALogger - Class in xyz.dynxsty.dih4jda
This handler's own Logging System.
DIH4JDALogger() - Constructor for class xyz.dynxsty.dih4jda.DIH4JDALogger
 
DIH4JDALogger.Type - Enum Class in xyz.dynxsty.dih4jda
 
DIH4JDAReflectionException - Exception Class in xyz.dynxsty.dih4jda.exceptions
Exception that is thrown for everything that is related to reflection inside DIH4JDA.
DIH4JDAReflectionException(Throwable) - Constructor for exception class xyz.dynxsty.dih4jda.exceptions.DIH4JDAReflectionException
 
DIH4JDAThrowableEvent<I extends net.dv8tion.jda.api.interactions.Interaction> - Class in xyz.dynxsty.dih4jda.events
Further abstraction of the DIH4JDAEvent class, which features Throwables.
disableAutomaticCommandRegistration() - Method in class xyz.dynxsty.dih4jda.DIH4JDABuilder
Whether DIH4JDA should automatically register all interactions on each onReady event.
disableLogging(DIH4JDALogger.Type...) - Method in class xyz.dynxsty.dih4jda.DIH4JDABuilder
Sets the types of logging that should be disabled.
disableStacktracePrinting() - Method in class xyz.dynxsty.dih4jda.DIH4JDABuilder
Disables the printing of stacktrace if an exception happens and there is no event listener registered.
disableUnknownCommandDeletion() - Method in class xyz.dynxsty.dih4jda.DIH4JDABuilder
Disables deletion of unknown/unused commands when using SmartQueue.
disableUnregisteredCommandException() - Method in class xyz.dynxsty.dih4jda.DIH4JDABuilder
Disables the CommandNotRegisteredException getting thrown for unregistered commands.
doesImplement(Class<?>, Class<?>) - Static method in class xyz.dynxsty.dih4jda.util.ClassUtils
Checks if the given base class implements a certain class.

E

EntitySelectMenuHandler - Interface in xyz.dynxsty.dih4jda.interactions.components
An interface that contains the method that should be executed when a user interacts with a EntitySelectMenu.
equals(CommandData, CommandData, boolean) - Static method in class xyz.dynxsty.dih4jda.util.CommandUtils
Compares two CommandData (Context Command) objects.
equals(OptionData, OptionData) - Static method in class xyz.dynxsty.dih4jda.util.CommandUtils
Compares two OptionData objects.
equals(SlashCommandData, SlashCommandData, boolean) - Static method in class xyz.dynxsty.dih4jda.util.CommandUtils
Compares two SlashCommandData (Slash Command) objects.
equals(SubcommandData, SubcommandData) - Static method in class xyz.dynxsty.dih4jda.util.CommandUtils
Compares two SubcommandData objects.
equals(SubcommandGroupData, SubcommandGroupData) - Static method in class xyz.dynxsty.dih4jda.util.CommandUtils
Compares two SubcommandGroupData objects.
equals(Command, Object, boolean) - Static method in class xyz.dynxsty.dih4jda.util.CommandUtils
Checks if the Command is equal to the given CommandData.
equals(DefaultMemberPermissions, DefaultMemberPermissions) - Static method in class xyz.dynxsty.dih4jda.util.CommandUtils
Compares two DefaultMemberPermissions objects.
error(String, Object...) - Static method in class xyz.dynxsty.dih4jda.DIH4JDALogger
 
error(DIH4JDALogger.Type, String, Object...) - Static method in class xyz.dynxsty.dih4jda.DIH4JDALogger
 
ERROR - Enum constant in enum class xyz.dynxsty.dih4jda.DIH4JDALogger.Type
 
EVENT_MISSING_HANDLER - Enum constant in enum class xyz.dynxsty.dih4jda.DIH4JDALogger.Type
 
ExecutableCommand<E> - Interface in xyz.dynxsty.dih4jda.interactions.commands
Represents a command that can be executed.
execute(E) - Method in interface xyz.dynxsty.dih4jda.interactions.commands.ExecutableCommand
The method that gets called once the command gets executed.
execute(SlashCommandInteractionEvent) - Method in class xyz.dynxsty.dih4jda.interactions.commands.application.SlashCommand
 

F

filterByType(Pair<Set<SlashCommand>, Set<ContextCommand<?>>>, RegistrationType) - Static method in class xyz.dynxsty.dih4jda.util.CommandUtils
Removes all elements of the provided Pair which don't match the given RegistrationType.
filterChoices(String, List<Command.Choice>) - Static method in class xyz.dynxsty.dih4jda.util.AutoCompleteUtils
Filters all AutoComplete choices based on the user's current input.
filterChoices(String, Command.Choice...) - Static method in class xyz.dynxsty.dih4jda.util.AutoCompleteUtils
Filters all AutoComplete choices based on the user's current input.
filterChoices(CommandAutoCompleteInteractionEvent, List<Command.Choice>) - Static method in class xyz.dynxsty.dih4jda.util.AutoCompleteUtils
Filters all AutoComplete choices based on the user's current input.
filterChoices(CommandAutoCompleteInteractionEvent, Command.Choice...) - Static method in class xyz.dynxsty.dih4jda.util.AutoCompleteUtils
Filters all AutoComplete choices based on the user's current input.
fire(DIH4JDAEvent<I>) - Static method in class xyz.dynxsty.dih4jda.events.DIH4JDAEvent
Fires an event from the DIH4JDAEventListener.
forPackage(String) - Static method in class xyz.dynxsty.dih4jda.util.ClasspathHelper
Gets all URLs in the specified package.

G

getAllClasses() - Method in class xyz.dynxsty.dih4jda.util.ClassWalker
Gets all classes inside the given package and sub packages.
getAsMention(SlashCommand) - Static method in class xyz.dynxsty.dih4jda.util.CommandUtils
 
getAsMention(SlashCommand.Subcommand) - Static method in class xyz.dynxsty.dih4jda.util.CommandUtils
 
getBlockedLogTypes() - Method in class xyz.dynxsty.dih4jda.config.DIH4JDAConfig
 
getButtonMappings() - Method in class xyz.dynxsty.dih4jda.DIH4JDA
Gets all ButtonHandlers.
getClassLoaderForClass(Class<?>) - Static method in class xyz.dynxsty.dih4jda.util.IOUtils
Tries to get the classloader for the given class.
getCommandCooldown() - Method in class xyz.dynxsty.dih4jda.interactions.commands.RestrictedCommand
Returns the Duration the user has to wait between command executions.
getCommandData() - Method in class xyz.dynxsty.dih4jda.interactions.commands.application.ApplicationCommand
 
getCommandPackages() - Method in class xyz.dynxsty.dih4jda.config.DIH4JDAConfig
 
getConfig() - Method in class xyz.dynxsty.dih4jda.DIH4JDA
 
getCooldown() - Method in class xyz.dynxsty.dih4jda.events.CommandCooldownEvent
 
getData() - Method in class xyz.dynxsty.dih4jda.interactions.commands.application.SlashCommand.SubcommandGroup
 
getDefaultRegistrationType() - Static method in class xyz.dynxsty.dih4jda.DIH4JDA
 
getDIH4JDA() - Method in class xyz.dynxsty.dih4jda.events.DIH4JDAEvent
 
getEntitySelectMenuMappings() - Method in class xyz.dynxsty.dih4jda.DIH4JDA
Gets all registered EntitySelectMenuHandlers.
getEventListeners() - Method in class xyz.dynxsty.dih4jda.DIH4JDA
 
getEventName() - Method in class xyz.dynxsty.dih4jda.events.DIH4JDAEvent
 
getExecutor() - Method in class xyz.dynxsty.dih4jda.config.DIH4JDAConfig
 
getFirst() - Method in class xyz.dynxsty.dih4jda.util.Pair
 
getGuildIds() - Method in class xyz.dynxsty.dih4jda.events.InvalidGuildEvent
 
getHandler() - Method in class xyz.dynxsty.dih4jda.interactions.components.IdMapping
 
getIds() - Method in class xyz.dynxsty.dih4jda.interactions.components.IdMapping
 
getInstance(Class<?>) - Static method in class xyz.dynxsty.dih4jda.util.ClassUtils
Creates a new Instance of the given class.
getInteraction() - Method in class xyz.dynxsty.dih4jda.events.DIH4JDAEvent
 
getJDA() - Method in class xyz.dynxsty.dih4jda.config.DIH4JDAConfig
 
getJDA() - Method in class xyz.dynxsty.dih4jda.DIH4JDA
Gets the JDA instance DIH4JDA uses.
getLastUse() - Method in class xyz.dynxsty.dih4jda.interactions.commands.RestrictedCommand.Cooldown
 
getModalMappings() - Method in class xyz.dynxsty.dih4jda.DIH4JDA
Gets all ModalHandlers.
getNames(Set<ContextCommand<?>>, Set<SlashCommand>) - Static method in class xyz.dynxsty.dih4jda.util.CommandUtils
Builds a formatted string out of the given sets of CommandData.
getNextUse() - Method in class xyz.dynxsty.dih4jda.interactions.commands.RestrictedCommand.Cooldown
 
getParent() - Method in class xyz.dynxsty.dih4jda.interactions.commands.application.SlashCommand.Subcommand
Gets the parent for this subcommand.
getPermissions() - Method in class xyz.dynxsty.dih4jda.events.InsufficientPermissionsEvent
 
getQueueableGuilds() - Method in class xyz.dynxsty.dih4jda.interactions.commands.application.BaseApplicationCommand
 
getRegistrationType() - Method in class xyz.dynxsty.dih4jda.interactions.commands.application.BaseApplicationCommand
The RegistrationType the command got assigned.
getRequiredGuilds() - Method in class xyz.dynxsty.dih4jda.interactions.commands.RestrictedCommand
The required guilds the command can be executed in.
getRequiredPermissions() - Method in class xyz.dynxsty.dih4jda.interactions.commands.RestrictedCommand
The required Permission the User needs to execute the command.
getRequiredRoles() - Method in class xyz.dynxsty.dih4jda.interactions.commands.RestrictedCommand
The Roles that are required to execute the command.
getRequiredUsers() - Method in class xyz.dynxsty.dih4jda.interactions.commands.RestrictedCommand
The user ids from the User that are allowed to execute the command.
getRetrievedCommands() - Static method in class xyz.dynxsty.dih4jda.InteractionHandler
Returns an unmodifiable Map of all retrieved (and/or queued) commands, where the key is the commands' name and the value the Command instance itself.
getRoleIds() - Method in class xyz.dynxsty.dih4jda.events.InvalidRoleEvent
 
getSecond() - Method in class xyz.dynxsty.dih4jda.util.Pair
 
getSeparator() - Static method in class xyz.dynxsty.dih4jda.util.ComponentIdBuilder
Gets the current separator.
getStringSelectMenuMappings() - Method in class xyz.dynxsty.dih4jda.DIH4JDA
Gets all registered StringSelectMenuHandlers.
getSubcommandGroups() - Method in class xyz.dynxsty.dih4jda.interactions.commands.application.SlashCommand
 
getSubcommands() - Method in class xyz.dynxsty.dih4jda.interactions.commands.application.SlashCommand
 
getSubcommands() - Method in class xyz.dynxsty.dih4jda.interactions.commands.application.SlashCommand.SubcommandGroup
 
getSubTypesOf(Class<T>) - Method in class xyz.dynxsty.dih4jda.util.ClassWalker
Gets all classes in the given package and sub packages which extend the specified class.
getThrowable() - Method in class xyz.dynxsty.dih4jda.events.DIH4JDAThrowableEvent
 
getUserIds() - Method in class xyz.dynxsty.dih4jda.events.InvalidUserEvent
 
GLOBAL - Enum constant in enum class xyz.dynxsty.dih4jda.interactions.commands.application.RegistrationType
 
GUILD - Enum constant in enum class xyz.dynxsty.dih4jda.interactions.commands.application.RegistrationType
 

H

handleAutoComplete(CommandAutoCompleteInteractionEvent, AutoCompleteQuery) - Method in interface xyz.dynxsty.dih4jda.interactions.AutoCompletable
 
handleButton(ButtonInteractionEvent, Button) - Method in interface xyz.dynxsty.dih4jda.interactions.components.ButtonHandler
Method that must be overridden for all Commands that handle Button Interactions.
handleEntitySelectMenu(EntitySelectInteractionEvent, List<IMentionable>) - Method in interface xyz.dynxsty.dih4jda.interactions.components.EntitySelectMenuHandler
Method that must be overridden for all classes that handle EntitySelectInteraction All select menus that match the identifier will execute this class's implementation of the handleEntitySelectMenu method.
handleModal(ModalInteractionEvent, List<ModalMapping>) - Method in interface xyz.dynxsty.dih4jda.interactions.components.ModalHandler
Method that must be overridden for all Commands that handle Modal Interactions.
handleStringSelectMenu(StringSelectInteractionEvent, List<String>) - Method in interface xyz.dynxsty.dih4jda.interactions.components.StringSelectMenuHandler
Method that must be overridden for all classes that handle StringSelectInteraction.
hasCooldown(long) - Method in class xyz.dynxsty.dih4jda.interactions.commands.RestrictedCommand
Returns whether the command can be used by the specified user.
Command Cooldowns DO NOT persist between sessions!

I

IdMapping<T> - Class in xyz.dynxsty.dih4jda.interactions.components
Simple POJO that holds a handler, IdMapping, and an array of Strings.
info(String, Object...) - Static method in class xyz.dynxsty.dih4jda.DIH4JDALogger
 
info(DIH4JDALogger.Type, String, Object...) - Static method in class xyz.dynxsty.dih4jda.DIH4JDALogger
 
INFO - Enum constant in enum class xyz.dynxsty.dih4jda.DIH4JDALogger.Type
 
InsufficientPermissionsEvent - Class in xyz.dynxsty.dih4jda.events
An event that gets fired when the user, which invoked the command, does NOT have one of the required permissions.
InsufficientPermissionsEvent(DIH4JDA, CommandInteraction, Set<Permission>) - Constructor for class xyz.dynxsty.dih4jda.events.InsufficientPermissionsEvent
 
InteractionHandler - Class in xyz.dynxsty.dih4jda
The Handler class, that finds, registers and handles all Commands and other Interactions.
InvalidGuildEvent - Class in xyz.dynxsty.dih4jda.events
An event that gets fired when the command is NOT executed in one of the required guild.
InvalidGuildEvent(DIH4JDA, CommandInteraction, Set<Long>) - Constructor for class xyz.dynxsty.dih4jda.events.InvalidGuildEvent
 
InvalidPackageException - Exception Class in xyz.dynxsty.dih4jda.exceptions
Exception that is thrown for an invalid command package configuration.
InvalidPackageException(String) - Constructor for exception class xyz.dynxsty.dih4jda.exceptions.InvalidPackageException
 
InvalidRoleEvent - Class in xyz.dynxsty.dih4jda.events
An event that gets fired when the user, which invoked the command, does NOT have the required roles to use this command.
InvalidRoleEvent(DIH4JDA, CommandInteraction, Set<Long>) - Constructor for class xyz.dynxsty.dih4jda.events.InvalidRoleEvent
 
InvalidUserEvent - Class in xyz.dynxsty.dih4jda.events
An event that gets fired when the user, which invoked the command, is NOT allowed to use this command.
InvalidUserEvent(DIH4JDA, CommandInteraction, Set<Long>) - Constructor for class xyz.dynxsty.dih4jda.events.InvalidUserEvent
 
IOUtils - Class in xyz.dynxsty.dih4jda.util
Utility class that contains some useful methods regarding the IO.
isDefaultPrintStacktrace() - Method in class xyz.dynxsty.dih4jda.config.DIH4JDAConfig
 
isDeleteUnknownCommands() - Method in class xyz.dynxsty.dih4jda.config.DIH4JDAConfig
 
isGlobalSmartQueue() - Method in class xyz.dynxsty.dih4jda.config.DIH4JDAConfig
 
isGuildSmartQueue() - Method in class xyz.dynxsty.dih4jda.config.DIH4JDAConfig
 
isRegisterOnReady() - Method in class xyz.dynxsty.dih4jda.config.DIH4JDAConfig
 
isThrowUnregisteredException() - Method in class xyz.dynxsty.dih4jda.config.DIH4JDAConfig
 

M

Message() - Constructor for class xyz.dynxsty.dih4jda.interactions.commands.application.ContextCommand.Message
 
MODAL_NOT_FOUND - Enum constant in enum class xyz.dynxsty.dih4jda.DIH4JDALogger.Type
 
ModalExceptionEvent - Class in xyz.dynxsty.dih4jda.events
An event that gets fired when an exception gets raised while handling a modal interaction.
ModalExceptionEvent(DIH4JDA, ModalInteraction, Throwable) - Constructor for class xyz.dynxsty.dih4jda.events.ModalExceptionEvent
 
ModalHandler - Interface in xyz.dynxsty.dih4jda.interactions.components
An interface that contains the method that should be executed when a user interacts with a Modal.

O

of(SubcommandGroupData, SlashCommand.Subcommand...) - Static method in class xyz.dynxsty.dih4jda.interactions.commands.application.SlashCommand.SubcommandGroup
Creates a new instance of the SlashCommand.SubcommandGroup class.
of(T, String...) - Static method in class xyz.dynxsty.dih4jda.interactions.components.IdMapping
Creates a new IdMapping with the specified handler and ids.
onAutoCompleteException(AutoCompleteExceptionEvent) - Method in interface xyz.dynxsty.dih4jda.events.DIH4JDAEventListener
An event that gets fired when an exception gets raised while handling an autocomplete interaction.
onButtonInteraction(ButtonInteractionEvent) - Method in class xyz.dynxsty.dih4jda.InteractionHandler
Fired if Discord reports a ButtonInteractionEvent.
onCommandAutoCompleteInteraction(CommandAutoCompleteInteractionEvent) - Method in class xyz.dynxsty.dih4jda.InteractionHandler
Fired if Discord reports a CommandAutoCompleteInteractionEvent.
onCommandCooldown(CommandCooldownEvent) - Method in interface xyz.dynxsty.dih4jda.events.DIH4JDAEventListener
An event that gets fired when the user, which invoked the command, is not yet able to use this command due to a specified Command Cooldown
Command Cooldowns DO NOT persist between sessions!
onCommandException(CommandExceptionEvent) - Method in interface xyz.dynxsty.dih4jda.events.DIH4JDAEventListener
An event that gets fired when an exception gets raised while executing any command.
onComponentException(ComponentExceptionEvent) - Method in interface xyz.dynxsty.dih4jda.events.DIH4JDAEventListener
An event that gets fired when an exception gets raised while interacting with a message component.
onEntitySelectInteraction(EntitySelectInteractionEvent) - Method in class xyz.dynxsty.dih4jda.InteractionHandler
 
onInsufficientPermissions(InsufficientPermissionsEvent) - Method in interface xyz.dynxsty.dih4jda.events.DIH4JDAEventListener
An event that gets fired when the user, which invoked the command, does NOT have one of the required permissions.
onInvalidGuild(InvalidGuildEvent) - Method in interface xyz.dynxsty.dih4jda.events.DIH4JDAEventListener
An event that gets fired when the command is NOT executed in one of the required guild.
onInvalidRole(InvalidRoleEvent) - Method in interface xyz.dynxsty.dih4jda.events.DIH4JDAEventListener
An event that gets fired when the user, which invoked the command, does NOT have the required roles to use this command.
onInvalidUser(InvalidUserEvent) - Method in interface xyz.dynxsty.dih4jda.events.DIH4JDAEventListener
An event that gets fired when the user, which invoked the command, is NOT allowed to use this command.
onMessageContextInteraction(MessageContextInteractionEvent) - Method in class xyz.dynxsty.dih4jda.InteractionHandler
Fired if Discord reports a MessageContextInteractionEvent.
onModalException(ModalExceptionEvent) - Method in interface xyz.dynxsty.dih4jda.events.DIH4JDAEventListener
An event that gets fired when an exception gets raised while handling a modal interaction.
onModalInteraction(ModalInteractionEvent) - Method in class xyz.dynxsty.dih4jda.InteractionHandler
Fired if Discord reports a ModalInteractionEvent.
onReady(ReadyEvent) - Method in class xyz.dynxsty.dih4jda.DIH4JDA
Ran once the JDA instance fires the ReadyEvent.
onSlashCommandInteraction(SlashCommandInteractionEvent) - Method in class xyz.dynxsty.dih4jda.InteractionHandler
Fired if Discord reports a SlashCommandInteractionEvent.
onStringSelectInteraction(StringSelectInteractionEvent) - Method in class xyz.dynxsty.dih4jda.InteractionHandler
Fired if Discord reports a StringSelectInteractionEvent.
onUserContextInteraction(UserContextInteractionEvent) - Method in class xyz.dynxsty.dih4jda.InteractionHandler
Fired if Discord reports a UserContextInteractionEvent.

P

Pair<F,S> - Class in xyz.dynxsty.dih4jda.util
A Pair of two elements.
Pair(F, S) - Constructor for class xyz.dynxsty.dih4jda.util.Pair
 

R

registerInteractions() - Method in class xyz.dynxsty.dih4jda.DIH4JDA
Registers all Interactions and replaces the old ones.
registerInteractions() - Method in class xyz.dynxsty.dih4jda.InteractionHandler
Registers all interactions.
RegistrationType - Enum Class in xyz.dynxsty.dih4jda.interactions.commands.application
Whether the command should be queued as a global- or as a guild command.
RestrictedCommand - Class in xyz.dynxsty.dih4jda.interactions.commands
Represents a basic command.
RestrictedCommand() - Constructor for class xyz.dynxsty.dih4jda.interactions.commands.RestrictedCommand
 
RestrictedCommand.Cooldown - Class in xyz.dynxsty.dih4jda.interactions.commands
Model class which represents a single command cooldown.
retrieveCooldown(long) - Method in class xyz.dynxsty.dih4jda.interactions.commands.RestrictedCommand
Gets the time the specified user can execute this command again.

S

SELECT_MENU_NOT_FOUND - Enum constant in enum class xyz.dynxsty.dih4jda.DIH4JDALogger.Type
 
setBlockedLogTypes(DIH4JDALogger.Type[]) - Method in class xyz.dynxsty.dih4jda.config.DIH4JDAConfig
 
setCommandCooldown(Duration) - Method in class xyz.dynxsty.dih4jda.interactions.commands.RestrictedCommand
Allows to set a cooldown for this command.
setCommandData(T) - Method in class xyz.dynxsty.dih4jda.interactions.commands.application.ApplicationCommand
Sets this commands' CommandData.
setCommandPackages(String...) - Method in class xyz.dynxsty.dih4jda.config.DIH4JDAConfig
 
setCommandPackages(String...) - Method in class xyz.dynxsty.dih4jda.DIH4JDABuilder
Sets the packages that house all Command classes.
setDefaultPrintStacktrace(boolean) - Method in class xyz.dynxsty.dih4jda.config.DIH4JDAConfig
 
setDefaultRegistrationType(RegistrationType) - Static method in class xyz.dynxsty.dih4jda.DIH4JDA
Sets the default RegistrationType for all Application Commands.
setDefaultSeparator(String) - Static method in class xyz.dynxsty.dih4jda.util.ComponentIdBuilder
Changes the default component-id separator.
setDeleteUnknownCommands(boolean) - Method in class xyz.dynxsty.dih4jda.config.DIH4JDAConfig
 
setExecutor(Executor) - Method in class xyz.dynxsty.dih4jda.config.DIH4JDAConfig
 
setExecutor(Executor) - Method in class xyz.dynxsty.dih4jda.DIH4JDABuilder
Sets the Executor that will be used to execute all commands and events.
setGlobalSmartQueue(boolean) - Method in class xyz.dynxsty.dih4jda.config.DIH4JDAConfig
 
setGlobalSmartQueue(boolean) - Method in class xyz.dynxsty.dih4jda.DIH4JDABuilder
NOT RECOMMENDED (unless there are some bugs)
This will disable the GLOBAL Smart Queueing functionality.
setGuildSmartQueue(boolean) - Method in class xyz.dynxsty.dih4jda.config.DIH4JDAConfig
 
setGuildSmartQueue(boolean) - Method in class xyz.dynxsty.dih4jda.DIH4JDABuilder
This will disable the GUILD Smart Queueing functionality.
setJDA(JDA) - Method in class xyz.dynxsty.dih4jda.config.DIH4JDAConfig
 
setJDA(JDA) - Static method in class xyz.dynxsty.dih4jda.DIH4JDABuilder
Sets the JDA instance the handler will be used for.
setQueueableGuilds(Long...) - Method in class xyz.dynxsty.dih4jda.interactions.commands.application.BaseApplicationCommand
Limits this command to only be queued in the specified guilds.
setRegisterOnReady(boolean) - Method in class xyz.dynxsty.dih4jda.config.DIH4JDAConfig
 
setRegistrationType(RegistrationType) - Method in class xyz.dynxsty.dih4jda.interactions.commands.application.BaseApplicationCommand
How the command should be queued.
setRequiredGuilds(Long...) - Method in class xyz.dynxsty.dih4jda.interactions.commands.RestrictedCommand
Allows to require a set of Guilds only in which the command can get executed.
setRequiredPermissions(Permission...) - Method in class xyz.dynxsty.dih4jda.interactions.commands.RestrictedCommand
Allows to require a set of Permissions which are needed to execute the corresponding command.
setRequiredRoles(Long...) - Method in class xyz.dynxsty.dih4jda.interactions.commands.RestrictedCommand
Allows to require a set of Longs (role Ids) which are able to execute the corresponding command.
setRequiredUsers(Long...) - Method in class xyz.dynxsty.dih4jda.interactions.commands.RestrictedCommand
Allows to require a set of Longs (user Ids) which are able to execute the corresponding command.
setThrowUnregisteredException(boolean) - Method in class xyz.dynxsty.dih4jda.config.DIH4JDAConfig
 
SLASH_COMMAND_REGISTERED - Enum constant in enum class xyz.dynxsty.dih4jda.DIH4JDALogger.Type
 
SLASH_COMMAND_SKIPPED - Enum constant in enum class xyz.dynxsty.dih4jda.DIH4JDALogger.Type
 
SlashCommand - Class in xyz.dynxsty.dih4jda.interactions.commands.application
Represents a single Slash Command.
SlashCommand.Subcommand - Class in xyz.dynxsty.dih4jda.interactions.commands.application
Model class which represents a single Subcommand.
SlashCommand.SubcommandGroup - Class in xyz.dynxsty.dih4jda.interactions.commands.application
Model class which represents a single subcommand group.
SMART_QUEUE - Enum constant in enum class xyz.dynxsty.dih4jda.DIH4JDALogger.Type
 
SMART_QUEUE_DELETED_UNKNOWN - Enum constant in enum class xyz.dynxsty.dih4jda.DIH4JDALogger.Type
 
SMART_QUEUE_IGNORED - Enum constant in enum class xyz.dynxsty.dih4jda.DIH4JDALogger.Type
 
SMART_QUEUE_IGNORED_UNKNOWN - Enum constant in enum class xyz.dynxsty.dih4jda.DIH4JDALogger.Type
 
SmartQueue - Class in xyz.dynxsty.dih4jda
Smart Queue
This Class handles all the SmartQueue functionality which can be disabled using DIH4JDABuilder.setGlobalSmartQueue(boolean) and DIH4JDABuilder.setGuildSmartQueue(boolean).
split(String) - Static method in class xyz.dynxsty.dih4jda.util.ComponentIdBuilder
Splits the given id by the current separator.
StringSelectMenuHandler - Interface in xyz.dynxsty.dih4jda.interactions.components
An interface that contains the method that should be executed when a user interacts with a StringSelectMenu.
Subcommand() - Constructor for class xyz.dynxsty.dih4jda.interactions.commands.application.SlashCommand.Subcommand
 

T

trace(String, Object...) - Static method in class xyz.dynxsty.dih4jda.DIH4JDALogger
 
trace(DIH4JDALogger.Type, String, Object...) - Static method in class xyz.dynxsty.dih4jda.DIH4JDALogger
 
TRACE - Enum constant in enum class xyz.dynxsty.dih4jda.DIH4JDALogger.Type
 

U

User() - Constructor for class xyz.dynxsty.dih4jda.interactions.commands.application.ContextCommand.User
 

V

valueOf(String) - Static method in enum class xyz.dynxsty.dih4jda.DIH4JDALogger.Type
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class xyz.dynxsty.dih4jda.interactions.commands.application.RegistrationType
Returns the enum constant of this class with the specified name.
values() - Static method in enum class xyz.dynxsty.dih4jda.DIH4JDALogger.Type
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class xyz.dynxsty.dih4jda.interactions.commands.application.RegistrationType
Returns an array containing the constants of this enum class, in the order they are declared.

W

warn(String, Object...) - Static method in class xyz.dynxsty.dih4jda.DIH4JDALogger
 
warn(DIH4JDALogger.Type, String, Object...) - Static method in class xyz.dynxsty.dih4jda.DIH4JDALogger
 
WARN - Enum constant in enum class xyz.dynxsty.dih4jda.DIH4JDALogger.Type
 

X

xyz.dynxsty.dih4jda - package xyz.dynxsty.dih4jda
 
xyz.dynxsty.dih4jda.config - package xyz.dynxsty.dih4jda.config
 
xyz.dynxsty.dih4jda.events - package xyz.dynxsty.dih4jda.events
 
xyz.dynxsty.dih4jda.exceptions - package xyz.dynxsty.dih4jda.exceptions
 
xyz.dynxsty.dih4jda.interactions - package xyz.dynxsty.dih4jda.interactions
 
xyz.dynxsty.dih4jda.interactions.commands - package xyz.dynxsty.dih4jda.interactions.commands
 
xyz.dynxsty.dih4jda.interactions.commands.application - package xyz.dynxsty.dih4jda.interactions.commands.application
 
xyz.dynxsty.dih4jda.interactions.components - package xyz.dynxsty.dih4jda.interactions.components
 
xyz.dynxsty.dih4jda.util - package xyz.dynxsty.dih4jda.util
 
A B C D E F G H I M O P R S T U V W X 
All Classes and Interfaces|All Packages|Serialized Form