@CommandInfo(name={"Ping","Pong"}, description="Checks the bot\'s latency") @Author(value="John Grosh (jagrosh)") public class PingCommand extends Command
Command.Category, Command.CooldownScopealiases, arguments, botPermissions, category, children, cooldown, cooldownScope, guildOnly, help, helpBiConsumer, hidden, name, ownerCommand, requiredRole, userPermissions, usesTopicTags| Constructor and Description |
|---|
PingCommand() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
execute(CommandEvent event)
The main body method of a
Command. |
getAliases, getArguments, getBotPermissions, getCategory, getChildren, getCooldown, getCooldownError, getCooldownKey, getHelp, getName, getRequiredRole, getUserPermissions, isAllowed, isCommandFor, isGuildOnly, isHidden, isOwnerCommand, runprotected void execute(CommandEvent event)
Commandexecute in class Commandevent - The CommandEvent that
triggered this Command