improve wrapper and general structure #16

Merged
tueem merged 23 commits from improve/structure into dev 2025-03-17 08:26:44 +00:00
5 changed files with 5 additions and 4 deletions
Showing only changes of commit 236c584da8 - Show all commits

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