diff --git a/lib/src/main/java/net/tomatentum/marinara/wrapper/LibraryWrapper.java b/lib/src/main/java/net/tomatentum/marinara/wrapper/LibraryWrapper.java index d9a1ecf..6b3410c 100644 --- a/lib/src/main/java/net/tomatentum/marinara/wrapper/LibraryWrapper.java +++ b/lib/src/main/java/net/tomatentum/marinara/wrapper/LibraryWrapper.java @@ -17,8 +17,7 @@ public abstract class LibraryWrapper { interactionSubscriber = new ArrayList<>(); } - public abstract void registerGlobalCommand(ApplicationCommandDefinition def); - public abstract void registerServerCommand(ApplicationCommandDefinition def); + public abstract void registerApplicationCommand(ApplicationCommandDefinition def); public void handleInteraction(Object context) { interactionSubscriber.forEach((o) -> o.accept(context));