Package tech.xigam.cch.utils
Class Completion
java.lang.Object
tech.xigam.cch.utils.Completion
-
Constructor Summary
ConstructorsConstructorDescriptionCompletion(net.dv8tion.jda.api.events.interaction.command.CommandAutoCompleteInteractionEvent event) -
Method Summary
-
Constructor Details
-
Completion
public Completion(net.dv8tion.jda.api.events.interaction.command.CommandAutoCompleteInteractionEvent event)
-
-
Method Details
-
getFocusedOption
-
getInput
-
addChoice
Adds a choice to reply with.- Parameters:
mapping- This is the value that will be SHOWN to the user.value- This is the value that will be handled internally by CCH.- Returns:
- An instance of this completion class.
-
reply
public void reply()
-