- setArgumentDescription(String) - Method in class com.github.afarion1.command_handler.command.config.CommandArgumentConfigBuilder
-
The description will be shown in command inspection (command info) and in wrong-command-usage error message
- setArgumentOptions(String...) - Method in class com.github.afarion1.command_handler.command.config.CommandArgumentConfigBuilder
-
Execution of the argument's command will fail if given argument value doesn't match these options.
- setCleanCooldownRecords(boolean) - Method in class com.github.afarion1.command_handler.command.config.CommandConfigBuilder
-
Should outdated records of cooldown of the command be cleared.
Default is true.
- setCommandListEmbedColor(Color) - Method in class com.github.afarion1.command_handler.command.CommandHandlerBuilder
-
- setCommandListType(CommandListType) - Method in class com.github.afarion1.command_handler.command.config.CommandConfigBuilder
-
Sets visibility of the command.
- setCommandPrefix(String) - Method in class com.github.afarion1.command_handler.command.CommandHandlerBuilder
-
Default prefix is ~
- setCooldown(Duration) - Method in class com.github.afarion1.command_handler.command.config.CommandConfigBuilder
-
The same user will have to wait the duration before being able to execute the command again
- setDefaultDoubleValue(double) - Method in class com.github.afarion1.command_handler.command.config.CommandArgumentConfigBuilder
-
Sets default value that will be used if the argument is omitted.
- setDefaultStringValue(String) - Method in class com.github.afarion1.command_handler.command.config.CommandArgumentConfigBuilder
-
Sets default value that will be used if the argument is omitted.
- setDescription(String) - Method in class com.github.afarion1.command_handler.command.config.CommandConfigBuilder
-
Sets a description that will be displayed in list of commands and in commands information (inspection)
- setErrorEmbedColor(Color) - Method in class com.github.afarion1.command_handler.command.CommandHandlerBuilder
-
- setExecuteIfCantCheckOrSaveCooldown(boolean) - Method in class com.github.afarion1.command_handler.command.config.CommandConfigBuilder
-
Setting to true will allow the command to be used when there are problems with DB.
- setExecuteInGuildOnly(boolean) - Method in class com.github.afarion1.command_handler.command.config.CommandConfigBuilder
-
When set to true the command won't be accessible in DM chat.
- setExecutorService(ExecutorService) - Method in class com.github.afarion1.command_handler.command.CommandHandlerBuilder
-
A thread pool with size of available processors amount is used by default.
- setInQuotes(boolean) - Method in class com.github.afarion1.command_handler.command.config.CommandArgumentConfigBuilder
-
When set to true the argument will have to be typed in quotes (" ").
This is useful for separation of arguments with spaces.
- setInspectCommandEmbedColor(Color) - Method in class com.github.afarion1.command_handler.command.CommandHandlerBuilder
-
- setJda(JDA) - Method in class com.github.afarion1.command_handler.command.CommandHandlerBuilder
-
- setOptional(boolean) - Method in class com.github.afarion1.command_handler.command.config.CommandArgumentConfigBuilder
-
When set to true the argument will be optional and could be omitted.
- setParseToDouble(boolean) - Method in class com.github.afarion1.command_handler.command.config.CommandArgumentConfigBuilder
-
- setPerGuildCooldown(Duration) - Method in class com.github.afarion1.command_handler.command.config.CommandConfigBuilder
-
The command will be accessible in the same guild only after the duration since the last use.
- setRawArgsDesc(String) - Method in class com.github.afarion1.command_handler.command.config.CommandConfigBuilder
-
Sets description of the raw args which will be displayed in verbose description of the command
if usage of raw args is enabled.
- setRawArgsName(String) - Method in class com.github.afarion1.command_handler.command.config.CommandConfigBuilder
-
Sets name of the raw args which will be used in signature and description of the command, if usage of raw
args is enabled.
- setUseRawArgs(boolean) - Method in class com.github.afarion1.command_handler.command.config.CommandConfigBuilder
-
Sets this command to use raw args, which means the arguments values will be accessible as a one String
or as List of the string separated by spaces instead of IDs and all the features coming from
CommandArgumentConfigBuilder won't be available.
- setVerboseDescription(String) - Method in class com.github.afarion1.command_handler.command.config.CommandConfigBuilder
-
The verbose description will be used in command inspection (command info command)
- setWithDelete(boolean) - Method in class com.github.afarion1.command_handler.reaction_controls.pagination.ReactionPaginationConfigBuilder
-
- setWithFastForward(boolean) - Method in class com.github.afarion1.command_handler.reaction_controls.pagination.ReactionPaginationConfigBuilder
-
- setWithNumPad(boolean) - Method in class com.github.afarion1.command_handler.reaction_controls.pagination.ReactionPaginationConfigBuilder
-
- shouldCleanCooldownRecords() - Method in class com.github.afarion1.command_handler.command.config.CommandConfig
-
- shouldExecuteIfCantCheckOrSaveCooldown(MessageReceivedEvent) - Method in class com.github.afarion1.command_handler.command.AbstractCommand
-
Could be overridden for dynamic calculation instead of static
Config.
- shouldExecuteIfCantCheckOrSaveCooldown() - Method in class com.github.afarion1.command_handler.command.config.CommandConfig
-
- start() - Method in class com.github.afarion1.command_handler.command.CommandHandler
-
Initializes and starts listening for messages.