Interface BaseCommand

All Known Implementing Classes:
Alias, Command, DeployCommand, SubCommand

public interface BaseCommand
An interface used by Command, SubCommand, and Alias
  • Method Details

    • getLabel

      String getLabel()
    • getDescription

      String getDescription()
    • execute

      void execute(Interaction interaction)
    • prepareForExecution

      void prepareForExecution(List<String> arguments, net.dv8tion.jda.api.entities.Message message, net.dv8tion.jda.api.entities.Member sender, net.dv8tion.jda.api.entities.TextChannel channel, boolean skipArguments, ComplexCommandHandler handler)
    • prepareForExecution

      void prepareForExecution(net.dv8tion.jda.api.events.interaction.command.SlashCommandInteractionEvent event, ComplexCommandHandler handler)
    • prepareForCompletion

      void prepareForCompletion(net.dv8tion.jda.api.events.interaction.command.CommandAutoCompleteInteractionEvent event, ComplexCommandHandler handler)