@CommandInfo(name="Shutdown", description="Safely shuts down the bot.") @Author(value="John Grosh (jagrosh)") public class ShutdownCommand extends Command
Command.Category, Command.CooldownScopealiases, arguments, botPermissions, category, children, cooldown, cooldownScope, guildOnly, help, helpBiConsumer, hidden, name, ownerCommand, requiredRole, userPermissions, usesTopicTags| Constructor and Description |
|---|
ShutdownCommand() |
| 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