@CommandInfo(name="Shutdown", description="Safely shuts down the bot.") @Author(value="John Grosh (jagrosh)") public class ShutdownCommand 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 |
---|
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, run
protected void execute(CommandEvent event)
Command
execute
in class Command
event
- The CommandEvent
that
triggered this Command