Package io.github.kaktushose.jdac.annotations.interactions
package io.github.kaktushose.jdac.annotations.interactions
Annotations needed for interactions.
-
ClassDescriptionMethods annotated with AutoComplete will be registered as a handler for
AutoCompleteEvents for the givenCommands.Methods annotated withButtonwill be registered as a button at startup.Annotation used to add choices to parameters.Methods annotated with Command will be registered as a slash command at startup.Used to configure the registration of commands.Enum describing the two possible scopes a command can be registered for.Methods annotated with EntitySelectMenu will be registered as a EntitySelectMenu at startup.Classes annotated withInteractionare responsible for defining and handling interactions.Used to defineSelectOptionsforStringSelectMenus.InternalException wrapper for repeatingMenuOptions.Methods annotated withModalwill be registered as a modal at startup.Annotation used to add metadata, e.g.Interactionclasses 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.Used to configure the reply behaviour of interaction replies.Methods annotated with StringSelectMenu will be registered as a StringSelectMenu at startup.Annotation used to add TextInputs toModals.