A C D G I L O P R S U 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.

C

com.github.johnnyjayjay.discord.commandapi - package com.github.johnnyjayjay.discord.commandapi
 
Command - Class in com.github.johnnyjayjay.discord.commandapi
Describes an executed Command.
CommandEvent - Class in com.github.johnnyjayjay.discord.commandapi
Represents a command event.
CommandEvent(JDA, long, Message, Command) - Constructor for class com.github.johnnyjayjay.discord.commandapi.CommandEvent
 
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, 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, 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.Command
 
getCommand() - Method in class com.github.johnnyjayjay.discord.commandapi.CommandEvent
 
getCommands() - Method in class com.github.johnnyjayjay.discord.commandapi.CommandSettings
 
getExecutor() - Method in class com.github.johnnyjayjay.discord.commandapi.Command
 
getHelpLabels() - Method in class com.github.johnnyjayjay.discord.commandapi.CommandSettings
 
getLabel() - Method in class com.github.johnnyjayjay.discord.commandapi.Command
 
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() - 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.

L

labelIgnoreCase() - Method 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.

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.

S

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.
setHelpLabel(String...) - Method in class com.github.johnnyjayjay.discord.commandapi.CommandSettings
Use this method to add help labels.

U

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

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 C D G I L O P R S U V 
Skip navigation links

Copyright © 2018. All rights reserved.