@CommandInfo(name="Guildlist", description="Gets a paginated list of the guilds the bot is on.", requirements={"The bot has all necessary permissions.","The user is the bot\'s owner."}) @Error(value="If arguments are provided, but they are not an integer.", response="[PageNumber] is not a valid integer!") @RequiredPermissions(value={MESSAGE_EMBED_LINKS,MESSAGE_ADD_REACTION}) @Author(value="John Grosh (jagrosh)") public class GuildlistCommand 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 |
---|
GuildlistCommand(EventWaiter waiter) |
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
public GuildlistCommand(EventWaiter waiter)
protected void execute(CommandEvent event)
Command
execute
in class Command
event
- The CommandEvent
that
triggered this Command