Class Help

java.lang.Object
de.presti.ree6.commands.impl.info.Help
All Implemented Interfaces:
ICommand

public class Help extends Object implements ICommand
A command to help the user navigate.
  • Constructor Details

    • Help

      public Help()
  • Method Details

    • onPerform

      public void onPerform(CommandEvent commandEvent)
      Description copied from interface: ICommand
      Will be fired when the Command is called.
      Specified by:
      onPerform in interface ICommand
      Parameters:
      commandEvent - the Event, with every needed data.
    • sendHelpInformation

      public void sendHelpInformation(String categoryString, CommandEvent commandEvent)
      Sends the help information to the user.
      Parameters:
      categoryString - The category to show the help for.
      commandEvent - The command event.
    • getAlias

      public String[] getAlias()
      Description copied from interface: ICommand
      Aliases of the current Command.
      Specified by:
      getAlias in interface ICommand
      Returns:
      the Aliases.
    • getCommandData

      public net.dv8tion.jda.api.interactions.commands.build.CommandData getCommandData()
      Description copied from interface: ICommand
      A CommandData implementation for JDAs SlashCommand Interaction Implementation.
      Specified by:
      getCommandData in interface ICommand
      Returns:
      the created CommandData.