-
OptionDataDefinition.build(@NotNull ParameterDescription parameter,
boolean autoComplete,
@NotNull com.github.kaktushose.jda.commands.dispatching.validation.internal.Validators validatorRegistry)
SlashCommandDefinition(@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 a SlashCommandDefinition
record class.