Index

A B C D E G H I L M O P R S T 
All Classes and Interfaces|All Packages

A

addChoice(String, Object) - Method in class tech.xigam.cch.utils.Completion
Adds a choice to reply with.
advance(Message) - Method in class tech.xigam.cch.utils.InteractiveArguments
 
Alias - Record Class in tech.xigam.cch.command
 
Alias(String, Command) - Constructor for record class tech.xigam.cch.command.Alias
Creates an instance of a Alias record class.
aliasOf() - Method in record class tech.xigam.cch.command.Alias
Returns the value of the aliasOf record component.
Argument - Class in tech.xigam.cch.utils
 
Arguments - Interface in tech.xigam.cch.command
 
argumentType - Variable in class tech.xigam.cch.utils.Argument
 

B

BaseCommand - Interface in tech.xigam.cch.command
An interface used by Command, SubCommand, and Alias
Baseless - Interface in tech.xigam.cch.command
An identification interface.

C

checkMessageInteraction(Message) - Method in class tech.xigam.cch.ComplexCommandHandler
 
choices - Variable in class tech.xigam.cch.utils.Argument
 
Command - Class in tech.xigam.cch.command
 
Command(String, String) - Constructor for class tech.xigam.cch.command.Command
 
Command(String, String, String...) - Constructor for class tech.xigam.cch.command.Command
 
completable - Variable in class tech.xigam.cch.utils.Argument
 
completable(boolean) - Method in class tech.xigam.cch.utils.Argument
 
Completable - Interface in tech.xigam.cch.command
 
complete(Completion) - Method in interface tech.xigam.cch.command.Completable
 
Completion - Class in tech.xigam.cch.utils
 
Completion(CommandAutoCompleteInteractionEvent) - Constructor for class tech.xigam.cch.utils.Completion
 
ComplexCommandHandler - Class in tech.xigam.cch
The main command handler.
ComplexCommandHandler(boolean) - Constructor for class tech.xigam.cch.ComplexCommandHandler
This constructor should be called in JDABuilder.addEventListeners(java.lang.Object...)
create(String, String, String, OptionType, boolean, int) - Static method in class tech.xigam.cch.utils.Argument
 
createAlias(String) - Method in class tech.xigam.cch.command.SubCommand
 
createTrailingArgument(String, String, String, OptionType, boolean, int) - Static method in class tech.xigam.cch.utils.Argument
 
createWithChoices(String, String, String, OptionType, boolean, int, String...) - Static method in class tech.xigam.cch.utils.Argument
 

D

deferReply() - Method in class tech.xigam.cch.utils.Interaction
 
deploy(Guild) - Method in class tech.xigam.cch.ComplexCommandHandler
Deprecated.
deployAll(Guild) - Method in class tech.xigam.cch.ComplexCommandHandler
 
DeployCommand - Class in tech.xigam.cch.defaults
 
DeployCommand() - Constructor for class tech.xigam.cch.defaults.DeployCommand
 
description - Variable in class tech.xigam.cch.utils.Argument
 
destroyInteraction(InteractiveArguments) - Method in class tech.xigam.cch.ComplexCommandHandler
 
downsert(Guild) - Method in class tech.xigam.cch.ComplexCommandHandler
Delete and create commands.

E

equals(Object) - Method in record class tech.xigam.cch.command.Alias
Indicates whether some other object is "equal to" this one.
execute(Consumer<Interaction>, long, TimeUnit) - Method in class tech.xigam.cch.utils.Interaction
 
execute(Interaction) - Method in record class tech.xigam.cch.command.Alias
 
execute(Interaction) - Method in interface tech.xigam.cch.command.BaseCommand
 
execute(Interaction) - Method in class tech.xigam.cch.defaults.DeployCommand
 

G

getAliases() - Method in class tech.xigam.cch.command.SubCommand
 
getArgument(String, Class<T>) - Method in class tech.xigam.cch.utils.Interaction
 
getArgument(String, T, Class<T>) - Method in class tech.xigam.cch.utils.Interaction
 
getArguments() - Method in interface tech.xigam.cch.command.Arguments
 
getArguments() - Method in class tech.xigam.cch.defaults.DeployCommand
 
getArguments() - Method in class tech.xigam.cch.utils.Interaction
 
getChannel() - Method in class tech.xigam.cch.utils.Interaction
 
getChannel() - Method in class tech.xigam.cch.utils.InteractiveArguments
 
getCommandHandler() - Method in class tech.xigam.cch.utils.Interaction
 
getDescription() - Method in record class tech.xigam.cch.command.Alias
 
getDescription() - Method in interface tech.xigam.cch.command.BaseCommand
 
getDescription() - Method in class tech.xigam.cch.command.Command
 
getFocusedOption() - Method in class tech.xigam.cch.utils.Completion
 
getGuild() - Method in class tech.xigam.cch.utils.Interaction
 
getInput() - Method in class tech.xigam.cch.utils.Completion
 
getLabel() - Method in record class tech.xigam.cch.command.Alias
 
getLabel() - Method in interface tech.xigam.cch.command.BaseCommand
 
getLabel() - Method in class tech.xigam.cch.command.Command
 
getMember() - Method in class tech.xigam.cch.utils.Interaction
 
getMember() - Method in class tech.xigam.cch.utils.InteractiveArguments
 
getMessage() - Method in class tech.xigam.cch.utils.Interaction
 
getRawArguments() - Method in class tech.xigam.cch.utils.Interaction
 
getSlashExecutor() - Method in class tech.xigam.cch.utils.Interaction
 
getSubCommands() - Method in class tech.xigam.cch.command.Command
 

H

hashCode() - Method in record class tech.xigam.cch.command.Alias
Returns a hash code value for this object.

I

Interaction - Class in tech.xigam.cch.utils
 
Interaction(ComplexCommandHandler, Message, TextChannel, List<String>, BaseCommand) - Constructor for class tech.xigam.cch.utils.Interaction
 
Interaction(ComplexCommandHandler, SlashCommandInteractionEvent, BaseCommand) - Constructor for class tech.xigam.cch.utils.Interaction
 
InteractiveArguments - Class in tech.xigam.cch.utils
 
InteractiveArguments(Message, Member, BaseCommand, List<String>, ComplexCommandHandler) - Constructor for class tech.xigam.cch.utils.InteractiveArguments
 
isDeferred() - Method in class tech.xigam.cch.utils.Interaction
 
isEphemeral() - Method in class tech.xigam.cch.utils.Interaction
 
isFromGuild() - Method in class tech.xigam.cch.utils.Interaction
 
isSlash() - Method in class tech.xigam.cch.utils.Interaction
 

L

label - Variable in class tech.xigam.cch.utils.Argument
 
label() - Method in record class tech.xigam.cch.command.Alias
Returns the value of the label record component.

M

max - Variable in class tech.xigam.cch.utils.Argument
 
min - Variable in class tech.xigam.cch.utils.Argument
 

O

onArgumentError - Variable in class tech.xigam.cch.ComplexCommandHandler
 
onCommandAutoCompleteInteraction(CommandAutoCompleteInteractionEvent) - Method in class tech.xigam.cch.ComplexCommandHandler
 
onMessageReceived(MessageReceivedEvent) - Method in class tech.xigam.cch.ComplexCommandHandler
 
onMessageUpdate(MessageUpdateEvent) - Method in class tech.xigam.cch.ComplexCommandHandler
 
onSlashCommandInteraction(SlashCommandInteractionEvent) - Method in class tech.xigam.cch.ComplexCommandHandler
 

P

permissionCheck(Interaction) - Method in class tech.xigam.cch.defaults.DeployCommand
 
position - Variable in class tech.xigam.cch.utils.Argument
 
prepareForCompletion(CommandAutoCompleteInteractionEvent, ComplexCommandHandler) - Method in record class tech.xigam.cch.command.Alias
 
prepareForCompletion(CommandAutoCompleteInteractionEvent, ComplexCommandHandler) - Method in interface tech.xigam.cch.command.BaseCommand
 
prepareForCompletion(CommandAutoCompleteInteractionEvent, ComplexCommandHandler) - Method in class tech.xigam.cch.command.Command
 
prepareForExecution(List<String>, Message, Member, TextChannel, boolean, ComplexCommandHandler) - Method in record class tech.xigam.cch.command.Alias
 
prepareForExecution(List<String>, Message, Member, TextChannel, boolean, ComplexCommandHandler) - Method in interface tech.xigam.cch.command.BaseCommand
 
prepareForExecution(List<String>, Message, Member, TextChannel, boolean, ComplexCommandHandler) - Method in class tech.xigam.cch.command.Command
 
prepareForExecution(SlashCommandInteractionEvent, ComplexCommandHandler) - Method in record class tech.xigam.cch.command.Alias
 
prepareForExecution(SlashCommandInteractionEvent, ComplexCommandHandler) - Method in interface tech.xigam.cch.command.BaseCommand
 
prepareForExecution(SlashCommandInteractionEvent, ComplexCommandHandler) - Method in class tech.xigam.cch.command.Command
 

R

range(int, int) - Method in class tech.xigam.cch.utils.Argument
 
reference - Variable in class tech.xigam.cch.utils.Argument
 
registerCommand(BaseCommand) - Method in class tech.xigam.cch.ComplexCommandHandler
 
registerSubCommand(SubCommand) - Method in class tech.xigam.cch.command.Command
 
reply() - Method in class tech.xigam.cch.utils.Completion
 
reply(String) - Method in class tech.xigam.cch.utils.Interaction
 
reply(String, boolean) - Method in class tech.xigam.cch.utils.Interaction
 
reply(MessageEmbed) - Method in class tech.xigam.cch.utils.Interaction
 
reply(MessageEmbed, boolean) - Method in class tech.xigam.cch.utils.Interaction
 
required - Variable in class tech.xigam.cch.utils.Argument
 

S

sendMessage(String) - Method in class tech.xigam.cch.utils.Interaction
 
sendMessage(MessageEmbed) - Method in class tech.xigam.cch.utils.Interaction
 
setEphemeral() - Method in class tech.xigam.cch.utils.Interaction
 
setEphemeral(boolean) - Method in class tech.xigam.cch.utils.Interaction
 
setJda(JDA) - Method in class tech.xigam.cch.ComplexCommandHandler
 
setPrefix(String) - Method in class tech.xigam.cch.ComplexCommandHandler
 
start(Message) - Method in class tech.xigam.cch.utils.InteractiveArguments
 
SubCommand - Class in tech.xigam.cch.command
 
SubCommand(String, String) - Constructor for class tech.xigam.cch.command.SubCommand
 

T

tech.xigam.cch - package tech.xigam.cch
 
tech.xigam.cch.command - package tech.xigam.cch.command
 
tech.xigam.cch.defaults - package tech.xigam.cch.defaults
 
tech.xigam.cch.utils - package tech.xigam.cch.utils
 
toChoices(Argument) - Static method in class tech.xigam.cch.utils.Argument
 
toOptions(Argument...) - Static method in class tech.xigam.cch.utils.Argument
 
toString() - Method in record class tech.xigam.cch.command.Alias
Returns a string representation of this record class.
trailing - Variable in class tech.xigam.cch.utils.Argument
 
trailing(boolean) - Method in class tech.xigam.cch.utils.Argument
 
A B C D E G H I L M O P R S T 
All Classes and Interfaces|All Packages