Package de.presti.ree6.commands.impl.mod
Class Suggestion
java.lang.Object
de.presti.ree6.commands.impl.mod.Suggestion
- All Implemented Interfaces:
ICommand
A command used to set up the Suggestion System.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
createSuggestions
(CommandEvent commandEvent, net.dv8tion.jda.api.entities.channel.middleman.MessageChannel channel, net.dv8tion.jda.api.entities.channel.middleman.MessageChannel messageChannel) Create all the entries needed.String[]
getAlias()
Aliases of the current Command.net.dv8tion.jda.api.interactions.commands.build.CommandData
A CommandData implementation for JDAs SlashCommand Interaction Implementation.void
onPerform
(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, wait
Methods inherited from interface de.presti.ree6.commands.interfaces.ICommand
onASyncPerform
-
Constructor Details
-
Suggestion
public Suggestion()
-
-
Method Details
-
onPerform
Description copied from interface:ICommand
Will be fired when the Command is called. -
createSuggestions
public void createSuggestions(CommandEvent commandEvent, net.dv8tion.jda.api.entities.channel.middleman.MessageChannel channel, net.dv8tion.jda.api.entities.channel.middleman.MessageChannel messageChannel) Create all the entries needed.- Parameters:
commandEvent
- The CommandEvent.channel
- the Suggestion channel.messageChannel
- the Channel for the Message.
-
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 interfaceICommand
- Returns:
- the created CommandData.
-
getAlias
Description copied from interface:ICommand
Aliases of the current Command.
-