Class EmbedSender

java.lang.Object
de.presti.ree6.commands.impl.mod.EmbedSender
All Implemented Interfaces:
ICommand

public class EmbedSender extends Object implements ICommand
Command to send an Embed.
  • Constructor Details

    • EmbedSender

      public EmbedSender()
  • Method Details

    • onPerform

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

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

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