Package de.presti.ree6.commands.impl.mod
Class EmbedSender
java.lang.Object
de.presti.ree6.commands.impl.mod.EmbedSender
- All Implemented Interfaces:
ICommand
Command to send an Embed.
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]getAlias()Aliases of the current Command.net.dv8tion.jda.api.interactions.commands.build.CommandDataA CommandData implementation for JDAs SlashCommand Interaction Implementation.voidonPerform(CommandEvent commandEvent) Will be fired when the Command is called.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.presti.ree6.commands.interfaces.ICommand
onASyncPerform
-
Constructor Details
-
EmbedSender
public EmbedSender()
-
-
Method Details
-
onPerform
Will be fired when the Command is called. -
getCommandData
public net.dv8tion.jda.api.interactions.commands.build.CommandData getCommandData()A CommandData implementation for JDAs SlashCommand Interaction Implementation.- Specified by:
getCommandDatain interfaceICommand- Returns:
- the created CommandData.
-
getAlias
Aliases of the current Command.
-