A B C D E F G H I J M N O P Q R S T U V W 
All Classes All Packages

A

addMessageEventSubscription(Consumer<MessageEventSubscriber>) - Method in class com.mrivanplays.jdcf.CommandManager
Adds a MessageEventSubscriber, called if no commands occur while handling events.
aliases(String...) - Method in class com.mrivanplays.jdcf.Command.Builder
Deprecated.
Sets the aliases of the command.
ARGUMENT_NOT_TYPED - com.mrivanplays.jdcf.args.FailReason
The argument wasn't typed in the command.
ARGUMENT_PARSED_NOT_TYPE - com.mrivanplays.jdcf.args.FailReason
The argument parsed is not the type we want it to be
ARGUMENT_PARSED_NULL - com.mrivanplays.jdcf.args.FailReason
The argument parsed was null
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, JDA) - Constructor for class com.mrivanplays.jdcf.args.ArgumentResolverContext
 
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
 

B

build() - Method in class com.mrivanplays.jdcf.Command.Builder
Deprecated.
Builds the specified parameters into a RegisteredCommand object which then is used to register that command into the CommandManager
buildAndRegister(CommandManager) - Method in class com.mrivanplays.jdcf.Command.Builder
Deprecated.
Builds the specified parameters into a RegisteredCommand object and then registers it into the specified CommandManager
builder() - Static method in class com.mrivanplays.jdcf.Command
Deprecated.
builder shouldn't be used
Builder() - Constructor for class com.mrivanplays.jdcf.Command.Builder
Deprecated.
 

C

CaseArgumentResolver<T> - Class in com.mrivanplays.jdcf.builtin
Represents a cased ArgumentResolver.
CaseArgumentResolver(Map<String, T>) - Constructor for class com.mrivanplays.jdcf.builtin.CaseArgumentResolver
 
CHANNEL - Static variable in class com.mrivanplays.jdcf.args.ArgumentResolvers
 
CHANNEL_ID - Static variable in class com.mrivanplays.jdcf.args.ArgumentResolvers
 
CHANNEL_NAME - Static variable in class com.mrivanplays.jdcf.args.ArgumentResolvers
 
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
Components for the help command are being here.
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
Handler of different prefixes per guild.
com.mrivanplays.jdcf.translation - package com.mrivanplays.jdcf.translation
Basic translation system
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() - Constructor for class com.mrivanplays.jdcf.Command
 
Command(String) - Constructor for class com.mrivanplays.jdcf.Command
Deprecated.
name specification should be done by CommandAliases
Command(String, boolean) - Constructor for class com.mrivanplays.jdcf.Command
Deprecated.
name specification should be done by CommandAliases and guild only should be marked with MarkGuildOnly
Command(String, boolean, Permission...) - Constructor for class com.mrivanplays.jdcf.Command
Deprecated.
name specification should be done by CommandAliases, guild only should be marked with MarkGuildOnly, permission checks by Command.hasPermission(PermissionCheckContext)
Command(String, Permission...) - Constructor for class com.mrivanplays.jdcf.Command
Deprecated.
name specification should be done by CommandAliases and permission checks by Command.hasPermission(PermissionCheckContext)
Command.Builder - Class in com.mrivanplays.jdcf
Deprecated.
isn't a reliable command creation.
CommandAliases - Annotation Type in com.mrivanplays.jdcf.data
Represents a annotation, which specifies a specific Command's names.
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.
CommandDispatcherARS<T> - Class in com.mrivanplays.jdcf.util
 
CommandDispatcherARS(JDA, ScheduledExecutorService) - Constructor for class com.mrivanplays.jdcf.util.CommandDispatcherARS
 
CommandDispatcherMessage - Class in com.mrivanplays.jdcf.util
 
CommandDispatcherMessage(String, JDA, Guild, TextChannel, Member, ScheduledExecutorService) - Constructor for class com.mrivanplays.jdcf.util.CommandDispatcherMessage
 
CommandExecutionContext - Class in com.mrivanplays.jdcf
Represents a generic data about the Command executed.
CommandExecutionContext(Message, String, boolean) - 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
 
CommandManager(ShardManager) - Constructor for class com.mrivanplays.jdcf.CommandManager
 
CommandManager(ShardManager, 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
 
CommandShutdown - Class in com.mrivanplays.jdcf.builtin
Represents a shutdown command.
CommandShutdown(String) - Constructor for class com.mrivanplays.jdcf.builtin.CommandShutdown
Creates a new shutdown command instance
CommandUsage - Annotation Type in com.mrivanplays.jdcf.data
Represents a annotation, which represents usage of a Command.
complete() - Method in class com.mrivanplays.jdcf.util.CommandDispatcherARS
 
complete(boolean) - Method in class com.mrivanplays.jdcf.util.CommandDispatcherARS
 
completeAfter(long, TimeUnit) - Method in class com.mrivanplays.jdcf.util.CommandDispatcherARS
 
contains(T, T[]) - Static method in class com.mrivanplays.jdcf.util.Utils
 
copy() - Method in class com.mrivanplays.jdcf.args.CommandArguments
Creates a new copy of this command arguments.

D

defaultHandler(ObjectMapper) - Static method in interface com.mrivanplays.jdcf.settings.prefix.PrefixHandler
Default implementation of a prefix handler, using json file as a long term storage.
defaultSettings() - Static method in class com.mrivanplays.jdcf.settings.CommandSettings
Returns the default settings object
delete() - Method in class com.mrivanplays.jdcf.util.CommandDispatcherMessage
 
description(String) - Method in class com.mrivanplays.jdcf.Command.Builder
Deprecated.
Sets the description of the command.
dispatchCommand(JDA, Guild, TextChannel, Member, String) - Method in class com.mrivanplays.jdcf.CommandManager
Executes the specified command line with the specified arguments.
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
Took from JDA utilities in order to fix some concurrency issues
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.CommandShutdown
JDCF calls this method when the command was triggered from a message.
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.
executor(BiFunction<CommandExecutionContext, CommandArguments, Boolean>) - Method in class com.mrivanplays.jdcf.Command.Builder
Deprecated.
Sets the command executor.

F

FailReason - Enum in com.mrivanplays.jdcf.args
Represents a fail reason of why RestArgumentAction.orElse(java.util.function.Consumer) got invoked
findCommand(String) - Method in class com.mrivanplays.jdcf.CommandManager
Finds the command(s) with the specified startsWith argument.
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(TranslationFile, String) - Static method in class com.mrivanplays.jdcf.translation.Translations
Retrieves a new Translations instance with the specified TranslationFile
get(InputStream, String) - Static method in class com.mrivanplays.jdcf.translation.Translations
Retrieves a new Translations which are bound to the ".properties" file type.
get(Reader, String) - Static method in class com.mrivanplays.jdcf.translation.Translations
Retrieves a new Translations which are bound to the ".properties" file type.
getActivity() - Method in class com.mrivanplays.jdcf.util.CommandDispatcherMessage
 
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.
getArgsLeftList() - Method in class com.mrivanplays.jdcf.args.CommandArguments
Returns the raw list of arguments left.
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.
getAuthor() - Method in class com.mrivanplays.jdcf.util.CommandDispatcherMessage
 
getChannel() - Method in class com.mrivanplays.jdcf.CommandExecutionContext
Returns the MessageChannel where the command was executed.
getChannel() - Method in class com.mrivanplays.jdcf.MessageEventSubscriber
Returns the MessageChannel where the Message was sent.
getChannel() - Method in class com.mrivanplays.jdcf.util.CommandDispatcherMessage
 
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.
getCommandAlias() - Method in class com.mrivanplays.jdcf.PermissionCheckContext
Returns the command alias, from which the command was triggered.
getCommandExecuteChannel() - Method in class com.mrivanplays.jdcf.settings.CommandSettings
Returns the channel, where commands should be executed.
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.ImmutablePrefixHandler
 
getDefaultPrefix() - Method in class com.mrivanplays.jdcf.settings.prefix.MapPrefixHandler
 
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
Returns a ScheduledExecutorService.
getFailReason() - Method in class com.mrivanplays.jdcf.args.ArgumentOptional
Returns the FailReason of why this argument optional may fail.
getFileType() - Method in class com.mrivanplays.jdcf.translation.JsonTranslationFile
 
getFileType() - Method in class com.mrivanplays.jdcf.translation.PropertyTranslationFile
 
getFileType() - Method in interface com.mrivanplays.jdcf.translation.TranslationFile
Returns the translation file type.
getGuild() - Method in class com.mrivanplays.jdcf.args.ArgumentResolverContext
Returns the Guild where the argument was send if it was sent into a guild text channel.
getGuild() - Method in class com.mrivanplays.jdcf.CommandExecutionContext
Returns the Guild where the CommandExecutionContext.getMember() have executed the command if it was executed in a guild.
getGuild() - Method in class com.mrivanplays.jdcf.MessageEventSubscriber
Returns the Guild if the Message was sent in one.
getGuild() - Method in class com.mrivanplays.jdcf.PermissionCheckContext
Returns the Guild instance if the command was executed in a guild.
getGuild() - Method in class com.mrivanplays.jdcf.util.CommandDispatcherMessage
 
getGuildPrefix(long) - Method in class com.mrivanplays.jdcf.settings.prefix.ImmutablePrefixHandler
 
getGuildPrefix(long) - Method in class com.mrivanplays.jdcf.settings.prefix.MapPrefixHandler
 
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.
getIdLong() - Method in class com.mrivanplays.jdcf.util.CommandDispatcherMessage
 
getInstance() - Static method in class com.mrivanplays.jdcf.translation.TranslationCollector
 
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.
getJda() - Method in class com.mrivanplays.jdcf.MessageEventSubscriber
Returns the JDA instance, from where the message event was triggered
getJda() - Method in class com.mrivanplays.jdcf.PermissionCheckContext
Returns the JDA instance, where the command was triggered.
getJDA() - Method in class com.mrivanplays.jdcf.util.CommandDispatcherARS
 
getJDA() - Method in class com.mrivanplays.jdcf.util.CommandDispatcherMessage
 
getKeys() - Method in class com.mrivanplays.jdcf.translation.JsonTranslationFile
 
getKeys() - Method in class com.mrivanplays.jdcf.translation.PropertyTranslationFile
 
getKeys() - Method in interface com.mrivanplays.jdcf.translation.TranslationFile
Returns the keys of all translations present
getKeys() - Method in class com.mrivanplays.jdcf.translation.Translations
Returns a immutable collection of the translation keys
getLanguage() - Method in class com.mrivanplays.jdcf.translation.Translations
Returns the language of the translations held
getMember() - Method in class com.mrivanplays.jdcf.CommandExecutionContext
Returns the guild Member, author of the command if the command was executed in guild.
getMember() - Method in class com.mrivanplays.jdcf.MessageEventSubscriber
Returns the Guild Member which have send the Message, if the Message was sent in a Guild.
getMember() - Method in class com.mrivanplays.jdcf.PermissionCheckContext
 
getMember() - Method in class com.mrivanplays.jdcf.util.CommandDispatcherMessage
 
getMentionedChannels() - Method in class com.mrivanplays.jdcf.util.CommandDispatcherMessage
 
getMentionedMembers() - Method in class com.mrivanplays.jdcf.util.CommandDispatcherMessage
 
getMentionedMembers(Guild) - Method in class com.mrivanplays.jdcf.util.CommandDispatcherMessage
 
getMentionedRoles() - Method in class com.mrivanplays.jdcf.util.CommandDispatcherMessage
 
getMentionedUsers() - Method in class com.mrivanplays.jdcf.util.CommandDispatcherMessage
 
getMessage() - Method in class com.mrivanplays.jdcf.CommandExecutionContext
Returns the whole command Message.
getMessage() - Method in class com.mrivanplays.jdcf.MessageEventSubscriber
Returns the sent Message
getName() - Method in class com.mrivanplays.jdcf.Command
Deprecated.
Use CommandAliases to specify the command name.
getName() - Method in class com.mrivanplays.jdcf.RegisteredCommand
Returns the "potential" name of the command.
getNoPermissionEmbed() - Method in class com.mrivanplays.jdcf.settings.CommandSettings
Returns the no permission embed.
getPages(Collection<T>, int) - Static method in class com.mrivanplays.jdcf.util.Utils
 
getPermissions() - Method in class com.mrivanplays.jdcf.Command
Deprecated.
JDCF doesn't care anymore about the permissions. Use Command.hasPermission(PermissionCheckContext) to check for permissions.
getPermissions() - Method in class com.mrivanplays.jdcf.RegisteredCommand
Deprecated.
JDCF doesn't store permissions anymore.
getPrefix(long) - Method in interface com.mrivanplays.jdcf.settings.prefix.PrefixHandler
Returns a usable command prefix.
getPrefix(User) - Method in interface com.mrivanplays.jdcf.settings.prefix.PrefixHandler
Gets the prefix of which the bot is going to listen for commands in DMs of this user.
getPrefix(User, User) - Method in interface com.mrivanplays.jdcf.settings.prefix.PrefixHandler
Deprecated.
first parameter not needed anymore. Expected removal: v1.0.6-SNAPSHOT
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.
getPrivateChannel() - Method in class com.mrivanplays.jdcf.CommandExecutionContext
Returns the PrivateChannel if the command was executed in the specified author's DMs.
getPrivateChannel() - Method in class com.mrivanplays.jdcf.MessageEventSubscriber
Returns the PrivateChannel where the Message was sent, if it as sent in one.
getRawArgument() - Method in class com.mrivanplays.jdcf.args.ArgumentOptional
Returns the raw argument
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.
getString(String) - Method in class com.mrivanplays.jdcf.translation.JsonTranslationFile
 
getString(String) - Method in class com.mrivanplays.jdcf.translation.PropertyTranslationFile
 
getString(String) - Method in interface com.mrivanplays.jdcf.translation.TranslationFile
Returns the translation with the specified key, or empty if the translation doesn't exist.
getSuccessEmbed() - Method in class com.mrivanplays.jdcf.settings.CommandSettings
Returns the success embed
getSupportedLanguages() - Method in class com.mrivanplays.jdcf.translation.TranslationCollector
Returns a copy of the supported languages.
getTextChannel() - Method in class com.mrivanplays.jdcf.CommandExecutionContext
Returns the TextChannel if the command was executed in a guild.
getTextChannel() - Method in class com.mrivanplays.jdcf.MessageEventSubscriber
Returns the TextChannel where the Message was sent, if it was sent in a Guild
getTextChannel() - Method in class com.mrivanplays.jdcf.util.CommandDispatcherMessage
 
getTranslation(String, Object...) - Method in class com.mrivanplays.jdcf.translation.Translations
Retrieves the translation, held by the specified key.
getTranslationFileType() - Method in class com.mrivanplays.jdcf.translation.Translations
Returns the file type, where the translations are stored.
getTranslations() - Method in class com.mrivanplays.jdcf.settings.CommandSettings
Returns the translations for messages.
getTranslations(String) - Method in class com.mrivanplays.jdcf.translation.TranslationCollector
Retrieves the translations of the specified language
getType() - Method in class com.mrivanplays.jdcf.util.CommandDispatcherMessage
 
getUsage() - Method in class com.mrivanplays.jdcf.RegisteredCommand
Returns the usage of the command (if specified)
getUser() - Method in class com.mrivanplays.jdcf.MessageEventSubscriber
Returns the User, author of the Message
getUser() - Method in class com.mrivanplays.jdcf.PermissionCheckContext
Returns the User instance, which executed the command.
guildOnly(boolean) - Method in class com.mrivanplays.jdcf.Command.Builder
Deprecated.
Sets if the command should be guild only or not

H

hasPermission(PermissionCheckContext) - Method in class com.mrivanplays.jdcf.builtin.CommandShutdown
An overridable method which checks if the member has the required permission to execute the command.
hasPermission(PermissionCheckContext) - Method in class com.mrivanplays.jdcf.Command
An overridable method which checks if the member has the required permission to execute the command.
hasPermission(PermissionCheckContext) - Method in class com.mrivanplays.jdcf.RegisteredCommand
Checks if the specified member has the required permission to execute this command.

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.
ImmutablePrefixHandler - Class in com.mrivanplays.jdcf.settings.prefix
Represents a prefix handler with immutable prefix.
ImmutablePrefixHandler(String) - Constructor for class com.mrivanplays.jdcf.settings.prefix.ImmutablePrefixHandler
 
INTEGER - Static variable in class com.mrivanplays.jdcf.args.ArgumentResolvers
 
isAllowDMSCommands() - Method in class com.mrivanplays.jdcf.settings.CommandSettings
Returns whenever the framework should allow commands to be executed not only in guilds, but also DMs
isEdited() - Method in class com.mrivanplays.jdcf.util.CommandDispatcherMessage
 
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.
isFromDispatcher() - Method in class com.mrivanplays.jdcf.CommandExecutionContext
Returns whenever this context was made from a dispatcher
isFromGuild() - Method in class com.mrivanplays.jdcf.PermissionCheckContext
Returns whenever the command was triggered to be executed in a guild.
isFromGuild() - Method in class com.mrivanplays.jdcf.util.CommandDispatcherMessage
 
isGuildMessage() - Method in class com.mrivanplays.jdcf.MessageEventSubscriber
Returns whenever the Message was from Guild
isGuildOnly() - Method in class com.mrivanplays.jdcf.Command
Deprecated.
JDCF doesn't store this parameter inside the command class. Use RegisteredCommand.isGuildOnly()
isGuildOnly() - Method in class com.mrivanplays.jdcf.RegisteredCommand
Returns whenever this command should be only executed in guild.
isLogExecutedCommands() - Method in class com.mrivanplays.jdcf.settings.CommandSettings
Should the framework log executed commands
isMentioned(IMentionable, Message.MentionType...) - Method in class com.mrivanplays.jdcf.util.CommandDispatcherMessage
 
isPresent() - Method in class com.mrivanplays.jdcf.args.ArgumentOptional
Returns whenever the value is present.
isWebhookMessage() - Method in class com.mrivanplays.jdcf.util.CommandDispatcherMessage
 

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.
JsonTranslationFile - Class in com.mrivanplays.jdcf.translation
Represents a translation file implementation, utilising the ".json" file type using jackson as library.
JsonTranslationFile(InputStream) - Constructor for class com.mrivanplays.jdcf.translation.JsonTranslationFile
 
JsonTranslationFile(InputStream, ObjectMapper) - Constructor for class com.mrivanplays.jdcf.translation.JsonTranslationFile
 
JsonTranslationFile(Reader) - Constructor for class com.mrivanplays.jdcf.translation.JsonTranslationFile
 
JsonTranslationFile(Reader, ObjectMapper) - Constructor for class com.mrivanplays.jdcf.translation.JsonTranslationFile
 

M

map(Function<T, U>) - Method in class com.mrivanplays.jdcf.args.ArgumentOptional
Leads the specified argument to a new argument.
MapPrefixHandler - Class in com.mrivanplays.jdcf.settings.prefix
Represents a prefix handler, working with a simple map.
MapPrefixHandler(Map<Long, String>, Consumer<Map<Long, String>>) - Constructor for class com.mrivanplays.jdcf.settings.prefix.MapPrefixHandler
 
MapPrefixHandler(Map<Long, String>, Consumer<Map<Long, String>>, String) - Constructor for class com.mrivanplays.jdcf.settings.prefix.MapPrefixHandler
 
MarkGuildOnly - Annotation Type in com.mrivanplays.jdcf.data
Represents a annotation, which marks whether or not the Command marked is guild-only
mentionsEveryone() - Method in class com.mrivanplays.jdcf.util.CommandDispatcherMessage
 
MessageEventSubscriber - Class in com.mrivanplays.jdcf
Represents a object, holding data for message event.
MessageEventSubscriber(Message) - Constructor for class com.mrivanplays.jdcf.MessageEventSubscriber
 

N

name(String) - Method in class com.mrivanplays.jdcf.Command.Builder
Deprecated.
Sets the name of the command.
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().
NO_FAIL_REASON - com.mrivanplays.jdcf.args.FailReason
Dummy reason for when there was no fail.

O

of(T, FailReason, String) - 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(Runnable) - Method in class com.mrivanplays.jdcf.args.RestArgumentAction
The specified Runnable gets invoked whatever the FailReason was when the value wasn't present.
orElse(BiConsumer<FailReason, String>) - Method in class com.mrivanplays.jdcf.args.RestArgumentAction
The specified BiConsumer gets invoked with the FailReason and the specified String argument.
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.

P

PermissionCheckContext - Class in com.mrivanplays.jdcf
Represents a context for checking if a member/user has permission to execute the specified comamnd.
PermissionCheckContext(JDA, User, Guild, Member, String) - Constructor for class com.mrivanplays.jdcf.PermissionCheckContext
 
permissions(Permission...) - Method in class com.mrivanplays.jdcf.Command.Builder
Deprecated.
Sets the permissions, required to execute the command.
PrefixHandler - Interface in com.mrivanplays.jdcf.settings.prefix
Represents a Command prefix handler.
PropertyTranslationFile - Class in com.mrivanplays.jdcf.translation
Represents a translation file implementation, utilising the ".properties" file type.
PropertyTranslationFile(InputStream) - Constructor for class com.mrivanplays.jdcf.translation.PropertyTranslationFile
 
PropertyTranslationFile(Reader) - Constructor for class com.mrivanplays.jdcf.translation.PropertyTranslationFile
 

Q

queue() - Method in class com.mrivanplays.jdcf.util.CommandDispatcherARS
 
queue(Consumer<? super T>) - Method in class com.mrivanplays.jdcf.util.CommandDispatcherARS
 
queue(Consumer<? super T>, Consumer<? super Throwable>) - Method in class com.mrivanplays.jdcf.util.CommandDispatcherARS
 
queueAfter(long, TimeUnit) - Method in class com.mrivanplays.jdcf.util.CommandDispatcherARS
 
queueAfter(long, TimeUnit, ScheduledExecutorService) - Method in class com.mrivanplays.jdcf.util.CommandDispatcherARS
 
queueAfter(long, TimeUnit, Consumer<? super T>) - Method in class com.mrivanplays.jdcf.util.CommandDispatcherARS
 
queueAfter(long, TimeUnit, Consumer<? super T>, ScheduledExecutorService) - Method in class com.mrivanplays.jdcf.util.CommandDispatcherARS
 
queueAfter(long, TimeUnit, Consumer<? super T>, Consumer<? super Throwable>) - Method in class com.mrivanplays.jdcf.util.CommandDispatcherARS
 
queueAfter(long, TimeUnit, Consumer<? super T>, Consumer<? super Throwable>, ScheduledExecutorService) - Method in class com.mrivanplays.jdcf.util.CommandDispatcherARS
 

R

reason(String) - Method in class com.mrivanplays.jdcf.util.CommandDispatcherARS
 
registerCommand(Command) - Method in class com.mrivanplays.jdcf.CommandManager
Registers the specified command into the manager.
registerCommand(RegisteredCommand) - Method in class com.mrivanplays.jdcf.CommandManager
Registers the specified RegisteredCommand object into the manager.
registerCommands(Command...) - Method in class com.mrivanplays.jdcf.CommandManager
Registers the specified command array into the manager
registerCommands(List<Command>) - Method in class com.mrivanplays.jdcf.CommandManager
Registers the specified command list into the manager
RegisteredCommand - Class in com.mrivanplays.jdcf
Represents a registered command.
RegisteredCommand(Command, String, String, String[]) - Constructor for class com.mrivanplays.jdcf.RegisteredCommand
 
RegisteredCommand(Command, String, String, String[], boolean) - 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.
resolve(ArgumentResolverContext) - Method in class com.mrivanplays.jdcf.builtin.CaseArgumentResolver
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, String) - Constructor for class com.mrivanplays.jdcf.args.RestArgumentAction
 
ROLE - Static variable in class com.mrivanplays.jdcf.args.ArgumentResolvers
 
ROLE_ID - Static variable in class com.mrivanplays.jdcf.args.ArgumentResolvers
 
ROLE_NAME - Static variable in class com.mrivanplays.jdcf.args.ArgumentResolvers
 

S

savePrefixes() - Method in class com.mrivanplays.jdcf.settings.prefix.ImmutablePrefixHandler
 
savePrefixes() - Method in class com.mrivanplays.jdcf.settings.prefix.MapPrefixHandler
 
savePrefixes() - Method in interface com.mrivanplays.jdcf.settings.prefix.PrefixHandler
Saves the prefixes
setAllowDMSCommands(boolean) - Method in class com.mrivanplays.jdcf.settings.CommandSettings
Sets whenever the framework should allow commands to be executed not only in guilds, but also DMs
setAuthor(EmbedBuilder, User) - Static method in class com.mrivanplays.jdcf.util.EmbedUtil
 
setCheck(BooleanSupplier) - Method in class com.mrivanplays.jdcf.util.CommandDispatcherARS
 
setCommandExecuteChannel(TextChannel) - Method in class com.mrivanplays.jdcf.settings.CommandSettings
Sets the channel where commands should be executed.
setCommandsPerHelpPage(int) - Method in class com.mrivanplays.jdcf.settings.CommandSettings
Sets how much commands should be listed per page on help command.
setDefaultPrefix(String) - Method in class com.mrivanplays.jdcf.settings.prefix.ImmutablePrefixHandler
 
setDefaultPrefix(String) - Method in class com.mrivanplays.jdcf.settings.prefix.MapPrefixHandler
 
setDefaultPrefix(String) - Method in interface com.mrivanplays.jdcf.settings.prefix.PrefixHandler
Sets a new default prefix of the bot.
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.ImmutablePrefixHandler
 
setGuildPrefix(String, long) - Method in class com.mrivanplays.jdcf.settings.prefix.MapPrefixHandler
 
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.
setLogExecutedCommands(boolean) - Method in class com.mrivanplays.jdcf.settings.CommandSettings
Sets whenever the framework should log executed commands
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
setSuccessEmbed(Supplier<EmbedBuilder>) - Method in class com.mrivanplays.jdcf.settings.CommandSettings
Sets the success embed.
setTranslations(Translations) - Method in class com.mrivanplays.jdcf.settings.CommandSettings
Sets new translations for messages
size() - Method in class com.mrivanplays.jdcf.args.CommandArguments
Returns the count of the specified arguments.
submit() - Method in class com.mrivanplays.jdcf.util.CommandDispatcherARS
 
submit(boolean) - Method in class com.mrivanplays.jdcf.util.CommandDispatcherARS
 
submitAfter(long, TimeUnit) - Method in class com.mrivanplays.jdcf.util.CommandDispatcherARS
 
submitAfter(long, TimeUnit, ScheduledExecutorService) - Method in class com.mrivanplays.jdcf.util.CommandDispatcherARS
 

T

TranslationCollector - Class in com.mrivanplays.jdcf.translation
Represents a collector of all known translations.
TranslationFile - Interface in com.mrivanplays.jdcf.translation
Represents a translation file
Translations - Class in com.mrivanplays.jdcf.translation
Represents a class, holding translations for a specific language.

U

unsupported() - Method in class com.mrivanplays.jdcf.util.CommandDispatcherMessage
 
usage(String) - Method in class com.mrivanplays.jdcf.Command.Builder
Deprecated.
Sets the usage of the command.
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

value() - Method in annotation type com.mrivanplays.jdcf.data.CommandAliases
The aliases string mentioned in the annotation description.
value() - Method in annotation type com.mrivanplays.jdcf.data.CommandDescription
Represents the description you want your command to have.
value() - Method in annotation type com.mrivanplays.jdcf.data.CommandUsage
Represents the usage string.
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

waitForEvent(Class<T>, Predicate<T>, Consumer<T>, Runnable) - Method in class com.mrivanplays.jdcf.util.EventWaiter
 
wasExecutedInGuild() - Method in class com.mrivanplays.jdcf.CommandExecutionContext
Returns whenever the command was executed in a guild.
wasValuePresent() - Method in class com.mrivanplays.jdcf.args.RestArgumentAction
Returns whenever the value was present.
A B C D E F G H I J M N O P Q R S T U V W 
All Classes All Packages