move Choice classes
All checks were successful
github-mirror / push-github (push) Successful in 3s
Build / Gradle-Build (push) Successful in 10s
Test / Gradle-Test (push) Successful in 20s

This commit is contained in:
tueem 2025-02-20 09:10:28 +01:00
parent f6db113deb
commit 236c584da8
Signed by: tueem
GPG Key ID: 65C8667EC17A88FB
5 changed files with 5 additions and 4 deletions

View File

@ -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,

View File

@ -1,4 +1,4 @@
package net.tomatentum.marinara.interaction.commands;
package net.tomatentum.marinara.interaction.commands.choice;
public interface ChoiceValueProvider<T> {
T getChoiceValue();

View File

@ -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;

View File

@ -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"),

View File

@ -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"),