Package com.github.kaktushose.jda.commands.annotations.interactions


package com.github.kaktushose.jda.commands.annotations.interactions
Annotations needed for interactions.
  • Class
    Description
    Methods annotated with AutoComplete will be registered as a handler for AutoCompleteEvents for the given SlashCommand.
    Methods annotated with Button will be registered as a button at startup.
    Annotation used to add choices to parameters.
    Enum describing the two possible scopes a command can be registered for.
    Methods annotated with ContextMenu will be registered as a context menu command.
    Commands annotated with Cooldown will have a per-user cooldown.
    Methods annotated with EntitySelectMenu will be registered as a EntitySelectMenu at startup.
    Classes annotated with Interaction are responsible for defining and handling interactions.
    Methods annotated with Modal will be registered as a modal at startup.
    Parameters annotated with Optional are as the name says optional.
    Annotation used to add a name and description to slash command parameters.
    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.
    Used to configure the reply behaviour of interaction replies.
    Used to define SelectOptions for StringSelectMenus.
    Methods annotated with SlashCommand will be registered as a slash command at startup.
    Methods annotated with StringSelectMenu will be registered as a StringSelectMenu at startup.
    Annotation used to add TextInputs to Modals.