Interface Definition
- All Known Subinterfaces:
CommandDefinition
,ComponentDefinition<T>
,CustomIdJDAEntity<T>
,InteractionDefinition
,com.github.kaktushose.jda.commands.definitions.features.internal.Invokable
,JDAEntity<T>
,SelectMenuDefinition<T>
- All Known Implementing Classes:
AutoCompleteDefinition
,ButtonDefinition
,ContextCommandDefinition
,EntitySelectMenuDefinition
,ModalDefinition
,ModalDefinition.TextInputDefinition
,OptionDataDefinition
,OptionDataDefinition.ConstraintDefinition
,SlashCommandDefinition
,SlashCommandDefinition.CooldownDefinition
,StringSelectMenuDefinition
,StringSelectMenuDefinition.SelectOptionDefinition
public sealed interface Definition
permits CustomIdJDAEntity<T>, JDAEntity<T>, InteractionDefinition, ModalDefinition.TextInputDefinition, OptionDataDefinition, OptionDataDefinition.ConstraintDefinition, SlashCommandDefinition.CooldownDefinition, StringSelectMenuDefinition.SelectOptionDefinition (not exhaustive)
The common interface for all interaction definitions and their sub parts, such as parameters or text inputs, etc.
-
Method Details
-
definitionId
The id for this definition. Per default this is the hash code of the
invalid reference
#toString()
-
displayName
The human-readable name of this definition.
-