A B C D G I L O P R S V 

A

activate() - Method in class com.github.johnnyjayjay.discord.commandapi.CommandSettings
Sets the prefix and the command HashMap for the rest of the API.
addChannelsToBlacklist(long...) - Method in class com.github.johnnyjayjay.discord.commandapi.CommandSettings
Adds multiple channels to the blacklist.
addChannelsToBlacklist(Collection<Long>) - Method in class com.github.johnnyjayjay.discord.commandapi.CommandSettings
Adds multiple channels to the blacklist.
addChannelToBlacklist(long) - Method in class com.github.johnnyjayjay.discord.commandapi.CommandSettings
Adds a given channel to the blacklist (meaning commands can not be executed in there).
addHelpLabel(String) - Method in class com.github.johnnyjayjay.discord.commandapi.CommandSettings
Method to add one help label.
addHelpLabels(String...) - Method in class com.github.johnnyjayjay.discord.commandapi.CommandSettings
Use this method to add help labels.
addHelpLabels(Collection<String>) - Method in class com.github.johnnyjayjay.discord.commandapi.CommandSettings
Adds multiple labels from a String Set.

B

botsMayExecute() - Method in class com.github.johnnyjayjay.discord.commandapi.CommandSettings
 

C

clear() - Method in class com.github.johnnyjayjay.discord.commandapi.CommandSettings
Resets this whole instance by clearing the commands, help labels and setting everything to how it was at the beginning.
clearBlacklist() - Method in class com.github.johnnyjayjay.discord.commandapi.CommandSettings
Clears the blacklist so that no channel is blacklisted anymore.
clearCommands() - Method in class com.github.johnnyjayjay.discord.commandapi.CommandSettings
Clears all commands.
clearHelpLabels() - Method in class com.github.johnnyjayjay.discord.commandapi.CommandSettings
This can be used to deactivate the help labels.
com.github.johnnyjayjay.discord.commandapi - package com.github.johnnyjayjay.discord.commandapi
 
CommandEvent - Class in com.github.johnnyjayjay.discord.commandapi
Represents a command event.
CommandEvent(JDA, long, Message, CommandEvent.Command) - Constructor for class com.github.johnnyjayjay.discord.commandapi.CommandEvent
 
CommandEvent.Command - Class in com.github.johnnyjayjay.discord.commandapi
Describes an executed Command.
CommandSetException - Exception in com.github.johnnyjayjay.discord.commandapi
Exception that is thrown in case of any problems concerning the CommandSettings.
CommandSetException(String) - Constructor for exception com.github.johnnyjayjay.discord.commandapi.CommandSetException
 
CommandSettings - Class in com.github.johnnyjayjay.discord.commandapi
To use this API, create a new object of this class and add your command classes by using add(...)
CommandSettings(String, ShardManager, boolean) - Constructor for class com.github.johnnyjayjay.discord.commandapi.CommandSettings
This is the optional constructor in case you are sharding your bot.
CommandSettings(String, JDA, boolean) - Constructor for class com.github.johnnyjayjay.discord.commandapi.CommandSettings
This is the constructor.

D

deactivate() - Method in class com.github.johnnyjayjay.discord.commandapi.CommandSettings
Deactivates the current CommandSettings by removing the command listener from jda.

G

getArgs() - Method in class com.github.johnnyjayjay.discord.commandapi.CommandEvent.Command
 
getArgs() - Method in class com.github.johnnyjayjay.discord.commandapi.CommandEvent
 
getArgsAsList() - Method in class com.github.johnnyjayjay.discord.commandapi.CommandEvent.Command
 
getBlacklistedChannels() - Method in class com.github.johnnyjayjay.discord.commandapi.CommandSettings
Use this to get the blacklisted channels.
getCommand() - Method in class com.github.johnnyjayjay.discord.commandapi.CommandEvent
 
getCommands() - Method in class com.github.johnnyjayjay.discord.commandapi.CommandSettings
 
getCooldown() - Method in class com.github.johnnyjayjay.discord.commandapi.CommandSettings
 
getExecutor() - Method in class com.github.johnnyjayjay.discord.commandapi.CommandEvent.Command
 
getHelpColor() - Method in class com.github.johnnyjayjay.discord.commandapi.CommandSettings
 
getHelpLabels() - Method in class com.github.johnnyjayjay.discord.commandapi.CommandSettings
 
getHelpLabelSet() - Method in class com.github.johnnyjayjay.discord.commandapi.CommandSettings
Returns all of the registered help labels.
getJoinedArgs() - Method in class com.github.johnnyjayjay.discord.commandapi.CommandEvent.Command
 
getJoinedArgs(int) - Method in class com.github.johnnyjayjay.discord.commandapi.CommandEvent.Command
 
getLabel() - Method in class com.github.johnnyjayjay.discord.commandapi.CommandEvent.Command
 
getLabelSet() - Method in class com.github.johnnyjayjay.discord.commandapi.CommandSettings
Returns every registered label in a Set.
getPrefix() - Method in class com.github.johnnyjayjay.discord.commandapi.CommandSettings
Use this method to get the default prefix.
getPrefix(long) - Method in class com.github.johnnyjayjay.discord.commandapi.CommandSettings
Use this method to get the prefix for a specific guild.

I

ICommand - Interface in com.github.johnnyjayjay.discord.commandapi
An interface used to describe a command class.
info(Member) - Method in interface com.github.johnnyjayjay.discord.commandapi.ICommand
In case you are using the automated help command of this API, your command classes should override this method.
isActivated() - Method in class com.github.johnnyjayjay.discord.commandapi.CommandSettings
Returns whether this instance is activated or not.

L

labelIgnoreCase() - Method in class com.github.johnnyjayjay.discord.commandapi.CommandSettings
 
logger - Static variable in class com.github.johnnyjayjay.discord.commandapi.CommandSettings
 

O

onCommand(CommandEvent, Member, TextChannel, String[]) - Method in interface com.github.johnnyjayjay.discord.commandapi.ICommand
Everything that happens if the command is executed should be written here.

P

put(ICommand, String) - Method in class com.github.johnnyjayjay.discord.commandapi.CommandSettings
Use this method to add commands from your project.
put(ICommand, String...) - Method in class com.github.johnnyjayjay.discord.commandapi.CommandSettings
Use this method to add commands with aliases.
put(ICommand, Collection<String>) - Method in class com.github.johnnyjayjay.discord.commandapi.CommandSettings
Use this method to add commands with aliases from a Set.

R

remove(String) - Method in class com.github.johnnyjayjay.discord.commandapi.CommandSettings
Use this method to remove existing commands.
remove(String...) - Method in class com.github.johnnyjayjay.discord.commandapi.CommandSettings
Use this method to remove more than one command at a time.
remove(Collection<String>) - Method in class com.github.johnnyjayjay.discord.commandapi.CommandSettings
Removes every label that is in the given Collection.
removeChannelFromBlacklist(long) - Method in class com.github.johnnyjayjay.discord.commandapi.CommandSettings
Removes one channel from the blacklist.
removeChannelsFromBlacklist(long...) - Method in class com.github.johnnyjayjay.discord.commandapi.CommandSettings
Removes one or more channels from the blacklist.
removeChannelsFromBlackList(Collection<Long>) - Method in class com.github.johnnyjayjay.discord.commandapi.CommandSettings
Removes a given Collection of channel ids from the blacklist.
removeHelpLabel(String) - Method in class com.github.johnnyjayjay.discord.commandapi.CommandSettings
This method removes one specific help label from the help label Set.
removeHelpLabels(String...) - Method in class com.github.johnnyjayjay.discord.commandapi.CommandSettings
This can be used to remove some help labels, but not all of them.
removeHelpLabels(Collection<String>) - Method in class com.github.johnnyjayjay.discord.commandapi.CommandSettings
Removes all labels from a Set.

S

setBotExecution(boolean) - Method in class com.github.johnnyjayjay.discord.commandapi.CommandSettings
Setter for the field botExecution.
setCooldown(long) - Method in class com.github.johnnyjayjay.discord.commandapi.CommandSettings
Sets the cooldown for this instance of settings.
setCustomPrefix(long, String) - Method in class com.github.johnnyjayjay.discord.commandapi.CommandSettings
Use this method to add a custom command prefix to a guild.
setDefaultPrefix(String) - Method in class com.github.johnnyjayjay.discord.commandapi.CommandSettings
Use this method to set the default prefix.
setHelpCommandColor(Color) - Method in class com.github.johnnyjayjay.discord.commandapi.CommandSettings
Sets the color the help message embed will have.

V

VALID_LABEL - Static variable in class com.github.johnnyjayjay.discord.commandapi.CommandSettings
 
VALID_PREFIX - Static variable in class com.github.johnnyjayjay.discord.commandapi.CommandSettings
 
A B C D G I L O P R S V 
Skip navigation links

Copyright © 2018. All rights reserved.