Uses of Record Class
com.github.kaktushose.jda.commands.definitions.interactions.command.SlashCommandDefinition.CooldownDefinition
Package
Description
Definitions
that represent any type interaction.Definitions
that represent a command interaction.-
Uses of SlashCommandDefinition.CooldownDefinition in com.github.kaktushose.jda.commands.definitions.interactions
Modifier and TypeMethodDescriptionMethodBuildContext.cooldownDefinition()
Returns the value of thecooldownDefinition
record component.ModifierConstructorDescriptionMethodBuildContext
(@NotNull com.github.kaktushose.jda.commands.dispatching.validation.internal.Validators validators, @NotNull LocalizationFunction localizationFunction, @NotNull Interaction interaction, @NotNull Set<String> permissions, @Nullable SlashCommandDefinition.CooldownDefinition cooldownDefinition, @NotNull ClassDescription clazz, @NotNull MethodDescription method, @NotNull Collection<AutoCompleteDefinition> autoCompleteDefinitions) Creates an instance of aMethodBuildContext
record class. -
Uses of SlashCommandDefinition.CooldownDefinition in com.github.kaktushose.jda.commands.definitions.interactions.command
Modifier and TypeMethodDescriptionstatic @NotNull SlashCommandDefinition.CooldownDefinition
Builds a newSlashCommandDefinition.CooldownDefinition
from the givenCooldown
annotation.SlashCommandDefinition.cooldown()
Returns the value of thecooldown
record component.ModifierConstructorDescriptionSlashCommandDefinition
(@NotNull ClassDescription clazzDescription, @NotNull MethodDescription methodDescription, @NotNull Collection<String> permissions, @NotNull String name, @NotNull CommandScope scope, boolean guildOnly, boolean nsfw, @NotNull Set<Permission> enabledPermissions, @NotNull LocalizationFunction localizationFunction, @NotNull String description, @NotNull SequencedCollection<OptionDataDefinition> commandOptions, @NotNull SlashCommandDefinition.CooldownDefinition cooldown, boolean isAutoComplete) Creates an instance of aSlashCommandDefinition
record class.