Interface PrefixCommand
- All Superinterfaces:
ICommand
A
PrefixCommand
is represented by a prefix.
The default prefix is !.-
Method Summary
-
Method Details
-
getPrefix
Gets the command prefix.- Returns:
- the command prefix
-
execute
void execute(net.dv8tion.jda.api.events.message.MessageReceivedEvent event) This code block will be executed on the command execution.- Parameters:
event
- Event given by the Discord API
-