public class HelpCommand extends Command implements Slash
NAME
Constructor and Description |
---|
HelpCommand() |
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Get the command's short description.
|
String |
getDescription(net.dv8tion.jda.api.events.Event event)
Get the command's short description.
|
void |
run(@NotNull net.dv8tion.jda.api.events.message.MessageReceivedEvent event,
@NotNull Map<String,IArgument> args)
Command execution after all validations has been passed.
|
void |
run(@NotNull net.dv8tion.jda.api.events.interaction.command.SlashCommandInteractionEvent event,
@UnmodifiableView @NotNull Map<String,IArgument> args)
Command execution after all validations has been passed.
|
HelpCommand |
useSimpleCommandList() |
addAliases, addClientPermissions, addExample, addExamples, addMemberPermissions, anyUsage, checkClientPermissions, checkMemberPermissions, checkPermissions, getAliases, getArgument, getArguments, getClientPermissions, getDetails, getDetails, getExamples, getGroup, getGroup, getMemberPermissions, getName, getName, getThrottling, hasPermission, hasPermission, hasPermission, isGuildOnly, isNsfw, isPrivateUseOnly, isRunInThread, isThreadOnly, onDirectMessageReceived, onGuildMessageReceived, onGuildThreadMessageReceived, sendReply, sendReply, sendReply, sendReply, sendReply, sendReply, sendReply, sendReply, sendReply, setDetails, setGuildOnly, setNotRunInThreads, setNsfw, setPrivateUseOnly, setThreadOnly, setThrottling, shouldRun, toString, usage
public HelpCommand() throws DuplicatedArgumentNameException
DuplicatedArgumentNameException
public String getDescription()
ICommand
getDescription
in interface ICommand
getDescription
in class Command
public String getDescription(net.dv8tion.jda.api.events.Event event)
ICommand
getDescription
in interface ICommand
getDescription
in class Command
event
- Discord's event that triggered this function call.public HelpCommand useSimpleCommandList()
public void run(@NotNull @NotNull net.dv8tion.jda.api.events.interaction.command.SlashCommandInteractionEvent event, @NotNull @UnmodifiableView @NotNull Map<String,IArgument> args)
Slash