Skip navigation links
A C D E F G H I J M N O P R S U V W 

A

ArgumentOptional<T> - Class in com.mrivanplays.jdcf.args
Represents a optional which contains things for our purpose and that's arguments.
ArgumentResolver<T> - Interface in com.mrivanplays.jdcf.args
Represents a argument resolver which resolves a single argument into a type specified.
ArgumentResolverContext - Class in com.mrivanplays.jdcf.args
Represents a data about a specific argument
ArgumentResolverContext(String, Guild, JDA) - Constructor for class com.mrivanplays.jdcf.args.ArgumentResolverContext
 
ArgumentResolvers - Class in com.mrivanplays.jdcf.args
A utility class containing the default argument resolvers.
ArgumentResolvers() - Constructor for class com.mrivanplays.jdcf.args.ArgumentResolvers
 

C

checkState(boolean, String) - Static method in class com.mrivanplays.jdcf.util.Utils
 
com.mrivanplays.jdcf - package com.mrivanplays.jdcf
70% the "brains" needed for the command framework to run are being located here.
com.mrivanplays.jdcf.args - package com.mrivanplays.jdcf.args
Argument handling for the java discord command framework.
com.mrivanplays.jdcf.builtin - package com.mrivanplays.jdcf.builtin
Built in, ready for use commands/utilities for the framework.
com.mrivanplays.jdcf.builtin.help - package com.mrivanplays.jdcf.builtin.help
 
com.mrivanplays.jdcf.data - package com.mrivanplays.jdcf.data
Data annotations for use in command info
com.mrivanplays.jdcf.settings - package com.mrivanplays.jdcf.settings
Settings about built-in things and also some command handling allow/disallow
com.mrivanplays.jdcf.settings.prefix - package com.mrivanplays.jdcf.settings.prefix
 
com.mrivanplays.jdcf.util - package com.mrivanplays.jdcf.util
Utilities, used by the command framework
Command - Class in com.mrivanplays.jdcf
Represents a command.
Command(String) - Constructor for class com.mrivanplays.jdcf.Command
 
Command(String, Permission...) - Constructor for class com.mrivanplays.jdcf.Command
 
CommandAliases - Annotation Type in com.mrivanplays.jdcf.data
Represents a annotation, which represents aliases of a Command Alias is basically a (short) another name of a command.
CommandArguments - Class in com.mrivanplays.jdcf.args
Represents a class, containing the actual argument resolving of a command.
CommandArguments(String[], JDA, Guild) - Constructor for class com.mrivanplays.jdcf.args.CommandArguments
 
CommandArguments(List<String>, JDA, Guild) - Constructor for class com.mrivanplays.jdcf.args.CommandArguments
 
CommandDescription - Annotation Type in com.mrivanplays.jdcf.data
Represents a annotation, which represents description of a Command.
CommandExecutionContext - Class in com.mrivanplays.jdcf
Represents a generic data about the Command executed.
CommandExecutionContext(TextChannel, Member, User, JDA, Message, Guild, String) - Constructor for class com.mrivanplays.jdcf.CommandExecutionContext
 
CommandHelp - Class in com.mrivanplays.jdcf.builtin.help
 
CommandHelp(CommandManager, EventWaiter) - Constructor for class com.mrivanplays.jdcf.builtin.help.CommandHelp
 
CommandManager - Class in com.mrivanplays.jdcf
Represents a command manager.
CommandManager(JDA) - Constructor for class com.mrivanplays.jdcf.CommandManager
 
CommandManager(JDA, CommandSettings) - Constructor for class com.mrivanplays.jdcf.CommandManager
 
CommandPrefix - Class in com.mrivanplays.jdcf.builtin
 
CommandPrefix(CommandManager) - Constructor for class com.mrivanplays.jdcf.builtin.CommandPrefix
 
CommandSettings - Class in com.mrivanplays.jdcf.settings
Represents a bunch of settings for the manager and for the command.
CommandSettings() - Constructor for class com.mrivanplays.jdcf.settings.CommandSettings
 
CommandUsage - Annotation Type in com.mrivanplays.jdcf.data
Represents a annotation, which represents usage of a Command.
copy() - Method in class com.mrivanplays.jdcf.args.CommandArguments
Creates a new copy of this command arguments.

D

DefaultCommandSettings - Class in com.mrivanplays.jdcf.settings
 
DefaultCommandSettings() - Constructor for class com.mrivanplays.jdcf.settings.DefaultCommandSettings
 
DefaultPrefixHandler - Class in com.mrivanplays.jdcf.settings.prefix
 
DefaultPrefixHandler(ScheduledExecutorService) - Constructor for class com.mrivanplays.jdcf.settings.prefix.DefaultPrefixHandler
 
DOUBLE - Static variable in class com.mrivanplays.jdcf.args.ArgumentResolvers
 

E

EmbedUtil - Class in com.mrivanplays.jdcf.util
 
EmbedUtil() - Constructor for class com.mrivanplays.jdcf.util.EmbedUtil
 
EventWaiter - Class in com.mrivanplays.jdcf.util
 
EventWaiter(ScheduledExecutorService) - Constructor for class com.mrivanplays.jdcf.util.EventWaiter
 
execute(CommandExecutionContext, CommandArguments) - Method in class com.mrivanplays.jdcf.builtin.CommandPrefix
 
execute(CommandExecutionContext, CommandArguments) - Method in class com.mrivanplays.jdcf.builtin.help.CommandHelp
 
execute(CommandExecutionContext, CommandArguments) - Method in class com.mrivanplays.jdcf.Command
JDCF calls this method when the command was triggered from a message.
execute(CommandExecutionContext, CommandArguments) - Method in class com.mrivanplays.jdcf.RegisteredCommand
Executes the command with the specified context and arguments.

F

FailReason - Enum in com.mrivanplays.jdcf.args
Represents a fail reason of why RestArgumentAction.orElse(java.util.function.Consumer) got invoked
FLOAT - Static variable in class com.mrivanplays.jdcf.args.ArgumentResolvers
 

G

get() - Method in class com.mrivanplays.jdcf.args.ArgumentOptional
Gets the specified value if present.
get() - Static method in class com.mrivanplays.jdcf.settings.DefaultCommandSettings
 
getAlias() - Method in class com.mrivanplays.jdcf.CommandExecutionContext
Returns the alias which triggered command execution.
getAliases() - Method in class com.mrivanplays.jdcf.RegisteredCommand
Returns the aliases of the command (if specified)
getArg(int) - Method in class com.mrivanplays.jdcf.args.CommandArguments
Gets the specified argument while decrementing the CommandArguments.size().
getArgsLeft() - Method in class com.mrivanplays.jdcf.args.CommandArguments
Returns the raw arguments array.
getArgument() - Method in class com.mrivanplays.jdcf.args.ArgumentResolverContext
Returns the specific argument.
getArgUnsafe(int) - Method in class com.mrivanplays.jdcf.args.CommandArguments
Gets the specified argument while decrementing the CommandArguments.size().
getAuthor() - Method in class com.mrivanplays.jdcf.CommandExecutionContext
Returns the discord User as a whole, author of the command.
getChannel() - Method in class com.mrivanplays.jdcf.CommandExecutionContext
Returns the TextChannel where the command was executed.
getCommand(String) - Method in class com.mrivanplays.jdcf.CommandManager
Retrieves the first command found which has the specified alias as alias or the specified alias is the command's name.
getCommandsPerHelpPage() - Method in class com.mrivanplays.jdcf.settings.CommandSettings
Returns the commands, listed per page on help command.
getDefaultPrefix() - Method in class com.mrivanplays.jdcf.settings.prefix.DefaultPrefixHandler
 
getDefaultPrefix() - Method in interface com.mrivanplays.jdcf.settings.prefix.PrefixHandler
Returns the default command prefix of the bot.
getDescription() - Method in class com.mrivanplays.jdcf.RegisteredCommand
Returns the description of the command (if specified)
getErrorEmbed() - Method in class com.mrivanplays.jdcf.settings.CommandSettings
Returns the error embed.
getExecutorService() - Method in class com.mrivanplays.jdcf.settings.CommandSettings
getGuild() - Method in class com.mrivanplays.jdcf.args.ArgumentResolverContext
Returns the Guild where the argument was send.
getGuild() - Method in class com.mrivanplays.jdcf.CommandExecutionContext
Returns the Guild where the CommandExecutionContext.getMember() have executed the command.
getGuildPrefix(long) - Method in class com.mrivanplays.jdcf.settings.prefix.DefaultPrefixHandler
 
getGuildPrefix(long) - Method in interface com.mrivanplays.jdcf.settings.prefix.PrefixHandler
Returns the prefix, which belongs to the specified guild id.
getHelpCommandEmbed() - Method in class com.mrivanplays.jdcf.settings.CommandSettings
Returns the embed for the help command.
getJda() - Method in class com.mrivanplays.jdcf.args.ArgumentResolverContext
Returns the shard.
getJda() - Method in class com.mrivanplays.jdcf.CommandExecutionContext
Returns the shard from where the command was executed.
getMember() - Method in class com.mrivanplays.jdcf.CommandExecutionContext
Returns the guild Member, author of the command.
getMessage() - Method in class com.mrivanplays.jdcf.CommandExecutionContext
Returns the whole command Message.
getName() - Method in class com.mrivanplays.jdcf.Command
Returns the name of the command.
getName() - Method in class com.mrivanplays.jdcf.RegisteredCommand
Returns the name of the command.
getNoPermissionEmbed() - Method in class com.mrivanplays.jdcf.settings.CommandSettings
Returns the no permission embed.
getPage(int) - Method in class com.mrivanplays.jdcf.builtin.help.HelpPaginator
 
getPermissions() - Method in class com.mrivanplays.jdcf.Command
Returns the Permissions required to the author of the command for the command to be executed.
getPermissions() - Method in class com.mrivanplays.jdcf.RegisteredCommand
Returns all the permissions of the command (if specified)
getPrefix(long) - Method in interface com.mrivanplays.jdcf.settings.prefix.PrefixHandler
Returns a usable command prefix.
getPrefixCommandEmbed() - Method in class com.mrivanplays.jdcf.settings.CommandSettings
Returns the prefix command embed.
getPrefixHandler() - Method in class com.mrivanplays.jdcf.settings.CommandSettings
Returns the prefix handler.
getRegisteredCommands() - Method in class com.mrivanplays.jdcf.CommandManager
Returns a unmodifiable list of the registered commands.
getSettings() - Method in class com.mrivanplays.jdcf.CommandManager
Returns the settings for all inbuilt things, handlers and stuff.
getUsage() - Method in class com.mrivanplays.jdcf.RegisteredCommand
Returns the usage of the command (if specified)

H

hasNext(int) - Method in class com.mrivanplays.jdcf.builtin.help.HelpPaginator
 
HelpPaginator - Class in com.mrivanplays.jdcf.builtin.help
 
HelpPaginator(List<RegisteredCommand>, int, Supplier<EmbedBuilder>, Member, User, Supplier<EmbedBuilder>) - Constructor for class com.mrivanplays.jdcf.builtin.help.HelpPaginator
 

I

ifPresent(Consumer<T>) - Method in class com.mrivanplays.jdcf.args.ArgumentOptional
If value is being present, the executor will get executed and the return value will don't come in work, otherwise the return value, a rest argument action will execute its RestArgumentAction.orElse(Consumer) method if it was called.
INTEGER - Static variable in class com.mrivanplays.jdcf.args.ArgumentResolvers
 
isEnableHelpCommand() - Method in class com.mrivanplays.jdcf.settings.CommandSettings
Returns whenever the help command is being enabled.
isEnableMentionInsteadPrefix() - Method in class com.mrivanplays.jdcf.settings.CommandSettings
Returns whenever the bot mention can be used instead of a prefix to run a command.
isEnablePrefixCommand() - Method in class com.mrivanplays.jdcf.settings.CommandSettings
Returns whenever the in bundled prefix command is being enabled.
isPresent() - Method in class com.mrivanplays.jdcf.args.ArgumentOptional
Returns whenever the value is present.

J

joinArguments(int, char) - Method in class com.mrivanplays.jdcf.args.CommandArguments
Joins the specified arguments with the character specified.
joinArguments(int, CharSequence) - Method in class com.mrivanplays.jdcf.args.CommandArguments
Joins the specified arguments with the specified characters.
joinArgumentsSpace(int) - Method in class com.mrivanplays.jdcf.args.CommandArguments
Joins the specified arguments with space as a delimiter.

M

map(Function<T, U>) - Method in class com.mrivanplays.jdcf.args.ArgumentOptional
Leads the specified argument to a new argument.

N

next() - Method in class com.mrivanplays.jdcf.args.CommandArguments
Gets the next argument while decrementing the CommandArguments.size().
next(ArgumentResolver<T>) - Method in class com.mrivanplays.jdcf.args.CommandArguments
Resolves the next argument to the specified resolver.
nextDouble() - Method in class com.mrivanplays.jdcf.args.CommandArguments
 
nextFloat() - Method in class com.mrivanplays.jdcf.args.CommandArguments
 
nextInt() - Method in class com.mrivanplays.jdcf.args.CommandArguments
 
nextString() - Method in class com.mrivanplays.jdcf.args.CommandArguments
 
nextUnsafe() - Method in class com.mrivanplays.jdcf.args.CommandArguments
Gets the next argument while decrementing the CommandArguments.size().

O

of(T, FailReason) - Static method in class com.mrivanplays.jdcf.args.ArgumentOptional
Creates a new argument optional.
onEvent(GenericEvent) - Method in class com.mrivanplays.jdcf.CommandManager
 
onEvent(GenericEvent) - Method in class com.mrivanplays.jdcf.util.EventWaiter
 
orElse(Consumer<FailReason>) - Method in class com.mrivanplays.jdcf.args.RestArgumentAction
The specified Consumer gets invoked with the FailReason when the value wasn't present.
orElse(Runnable) - Method in class com.mrivanplays.jdcf.args.RestArgumentAction
The specified Runnable gets invoked whatever the FailReason was when the value wasn't present.

P

PrefixHandler - Interface in com.mrivanplays.jdcf.settings.prefix
Represents a Command prefix handler.

R

registerCommand(Command) - Method in class com.mrivanplays.jdcf.CommandManager
Registers the specified command into the manager.
registerCommands(Command...) - Method in class com.mrivanplays.jdcf.CommandManager
 
registerCommands(List<Command>) - Method in class com.mrivanplays.jdcf.CommandManager
 
RegisteredCommand - Class in com.mrivanplays.jdcf
Represents a registered command.
RegisteredCommand(Command, String, String, String[]) - Constructor for class com.mrivanplays.jdcf.RegisteredCommand
 
resolve(ArgumentResolverContext) - Method in interface com.mrivanplays.jdcf.args.ArgumentResolver
Resolves the input argument into the type this resolver resolves.
RestArgumentAction - Class in com.mrivanplays.jdcf.args
Represents a rest action, which comes role when the argument you wanted to get back in the code chain is null.
RestArgumentAction(FailReason) - Constructor for class com.mrivanplays.jdcf.args.RestArgumentAction
 

S

savePrefixes() - Method in class com.mrivanplays.jdcf.settings.prefix.DefaultPrefixHandler
 
savePrefixes() - Method in interface com.mrivanplays.jdcf.settings.prefix.PrefixHandler
Saves the prefixes to a file
setAuthor(EmbedBuilder, User) - Static method in class com.mrivanplays.jdcf.util.EmbedUtil
 
setCommandsPerHelpPage(int) - Method in class com.mrivanplays.jdcf.settings.CommandSettings
Sets how much commands should be listed per page on help command.
setEnableHelpCommand(boolean) - Method in class com.mrivanplays.jdcf.settings.CommandSettings
Sets the help command enabled state.
setEnableMentionInsteadPrefix(boolean) - Method in class com.mrivanplays.jdcf.settings.CommandSettings
Sets whenever the bot mention can be used instead of a prefix to run a command.
setEnablePrefixCommand(boolean) - Method in class com.mrivanplays.jdcf.settings.CommandSettings
Sets if the prefix command is enabled.
setErrorEmbed(Supplier<EmbedBuilder>) - Method in class com.mrivanplays.jdcf.settings.CommandSettings
Sets the error embed
setExecutorService(ScheduledExecutorService) - Method in class com.mrivanplays.jdcf.settings.CommandSettings
Sets a new executor service.
setGuildPrefix(String, long) - Method in class com.mrivanplays.jdcf.settings.prefix.DefaultPrefixHandler
 
setGuildPrefix(String, long) - Method in interface com.mrivanplays.jdcf.settings.prefix.PrefixHandler
Sets a new guild prefix.
setHelpCommandEmbed(Supplier<EmbedBuilder>) - Method in class com.mrivanplays.jdcf.settings.CommandSettings
Sets the help command embed.
setNoPermissionEmbed(Supplier<EmbedBuilder>) - Method in class com.mrivanplays.jdcf.settings.CommandSettings
Sets the no permission embed.
setPrefixCommandEmbed(Supplier<EmbedBuilder>) - Method in class com.mrivanplays.jdcf.settings.CommandSettings
Sets the prefix command embed
setPrefixHandler(PrefixHandler) - Method in class com.mrivanplays.jdcf.settings.CommandSettings
Sets a new prefix handler
setSettings(CommandSettings) - Method in class com.mrivanplays.jdcf.CommandManager
Sets a new settings
size() - Method in class com.mrivanplays.jdcf.args.CommandArguments
Returns the count of the specified arguments.

U

USER - Static variable in class com.mrivanplays.jdcf.args.ArgumentResolvers
 
USER_ID - Static variable in class com.mrivanplays.jdcf.args.ArgumentResolvers
 
USER_MENTION - Static variable in class com.mrivanplays.jdcf.args.ArgumentResolvers
 
Utils - Class in com.mrivanplays.jdcf.util
 
Utils() - Constructor for class com.mrivanplays.jdcf.util.Utils
 

V

valueOf(String) - Static method in enum com.mrivanplays.jdcf.args.FailReason
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.mrivanplays.jdcf.args.FailReason
Returns an array containing the constants of this enum type, in the order they are declared.

W

waitFor(Class<T>, Predicate<T>, Consumer<T>, Runnable) - Method in class com.mrivanplays.jdcf.util.EventWaiter
 
wasValuePresent() - Method in class com.mrivanplays.jdcf.args.RestArgumentAction
Returns whenever the value was present.
A C D E F G H I J M N O P R S U V W 
Skip navigation links

Copyright © 2019. All rights reserved.