@CommandInfo(name="About", description="Gets information about the bot.") @Author(value="John Grosh (jagrosh)") public class AboutCommand extends Command
Command.Category, Command.CooldownScope
aliases, arguments, botPermissions, category, children, cooldown, cooldownScope, guildOnly, help, helpBiConsumer, hidden, name, ownerCommand, requiredRole, userPermissions, usesTopicTags
Constructor and Description |
---|
AboutCommand(java.awt.Color color,
java.lang.String description,
java.lang.String[] features,
net.dv8tion.jda.core.Permission... perms) |
Modifier and Type | Method and Description |
---|---|
protected void |
execute(CommandEvent event)
The main body method of a
Command . |
void |
setIsAuthor(boolean value) |
void |
setReplacementCharacter(java.lang.String value) |
getAliases, getArguments, getBotPermissions, getCategory, getChildren, getCooldown, getCooldownError, getCooldownKey, getHelp, getName, getRequiredRole, getUserPermissions, isAllowed, isCommandFor, isGuildOnly, isHidden, isOwnerCommand, run
public AboutCommand(java.awt.Color color, java.lang.String description, java.lang.String[] features, net.dv8tion.jda.core.Permission... perms)
public void setIsAuthor(boolean value)
public void setReplacementCharacter(java.lang.String value)
protected void execute(CommandEvent event)
Command
execute
in class Command
event
- The CommandEvent
that
triggered this Command