move Choice classes
This commit is contained in:
parent
f6db113deb
commit
236c584da8
@ -6,6 +6,7 @@ import net.tomatentum.marinara.interaction.commands.annotation.SlashCommandOptio
|
||||
import net.tomatentum.marinara.interaction.commands.annotation.SubCommand;
|
||||
import net.tomatentum.marinara.interaction.commands.annotation.SubCommandGroup;
|
||||
import net.tomatentum.marinara.interaction.commands.annotation.SlashCommandOption.PlaceHolderEnum;
|
||||
import net.tomatentum.marinara.interaction.commands.choice.EnumChoices;
|
||||
|
||||
public record ExecutableSlashCommandDefinition(
|
||||
SlashCommand applicationCommand,
|
||||
|
@ -1,4 +1,4 @@
|
||||
package net.tomatentum.marinara.interaction.commands;
|
||||
package net.tomatentum.marinara.interaction.commands.choice;
|
||||
|
||||
public interface ChoiceValueProvider<T> {
|
||||
T getChoiceValue();
|
@ -1,4 +1,4 @@
|
||||
package net.tomatentum.marinara.interaction.commands;
|
||||
package net.tomatentum.marinara.interaction.commands.choice;
|
||||
|
||||
import java.lang.reflect.InvocationTargetException;
|
||||
import java.lang.reflect.Method;
|
@ -1,6 +1,6 @@
|
||||
package net.tomatentum.marinara.test.discord4j;
|
||||
|
||||
import net.tomatentum.marinara.interaction.commands.ChoiceValueProvider;
|
||||
import net.tomatentum.marinara.interaction.commands.choice.ChoiceValueProvider;
|
||||
|
||||
public enum TestChoiceEnum implements ChoiceValueProvider<String> {
|
||||
TestValue("testValue"),
|
||||
|
@ -1,6 +1,6 @@
|
||||
package net.tomatentum.marinara.test.javacord;
|
||||
|
||||
import net.tomatentum.marinara.interaction.commands.ChoiceValueProvider;
|
||||
import net.tomatentum.marinara.interaction.commands.choice.ChoiceValueProvider;
|
||||
|
||||
public enum TestChoiceEnum implements ChoiceValueProvider<String> {
|
||||
TestValue("testValue"),
|
||||
|
Loading…
x
Reference in New Issue
Block a user