public class CmdInspectCommand extends AbstractCommand
argumentsSeparator| Constructor and Description |
|---|
CmdInspectCommand(CommandHandler handler) |
| Modifier and Type | Method and Description |
|---|---|
int |
chooseArgumentSymbols(net.dv8tion.jda.api.events.message.MessageReceivedEvent event,
java.lang.String arguments,
int argumentId)
Designed to be overridden if
CommandArgumentConfigBuilder.enableCustomArgumentChoosing(boolean)
of any argument of the command is set to true. |
void |
execute(net.dv8tion.jda.api.events.message.MessageReceivedEvent event,
CommandArguments args) |
getCmdWithArgsSignature, getCommandArguments, getConfig, getDescription, getGuildCooldown, getHandler, getListType, getName, getNameAndAliases, getRawArgsDesc, getRawArgsName, getRequiredDiscordPerms, getUserCooldown, getVerboseDesc, hasAnyCooldown, hasGuildCooldown, hasUserCooldown, isExecuteInGuildOnly, isRawArgs, shouldExecuteIfCantCheckOrSaveCooldownpublic CmdInspectCommand(CommandHandler handler)
public void execute(net.dv8tion.jda.api.events.message.MessageReceivedEvent event,
CommandArguments args)
execute in class AbstractCommandpublic int chooseArgumentSymbols(net.dv8tion.jda.api.events.message.MessageReceivedEvent event,
java.lang.String arguments,
int argumentId)
AbstractCommandCommandArgumentConfigBuilder.enableCustomArgumentChoosing(boolean)
of any argument of the command is set to true. MessageReceivedEvent for context, a String which represents
the rest of unprocessed arguments sent by user, and ID of argument being processed.chooseArgumentSymbols in class AbstractCommandevent - jda on message received event, given for contextarguments - string containing the rest of unprocessed arguments sent by userargumentId - id of argument being processed. Necessary if several arguments marked to use
custom argument choosingCommandArgumentConfigBuilder.enableCustomArgumentChoosing(boolean)