diff --git a/lib/src/main/java/net/tomatentum/marinara/registry/InteractionRegistry.java b/lib/src/main/java/net/tomatentum/marinara/registry/InteractionRegistry.java index 462cd94..7111b77 100644 --- a/lib/src/main/java/net/tomatentum/marinara/registry/InteractionRegistry.java +++ b/lib/src/main/java/net/tomatentum/marinara/registry/InteractionRegistry.java @@ -44,6 +44,8 @@ public class InteractionRegistry { else defs.add(new ApplicationCommandDefinition(def.applicationCommand()).addExecutableCommand(def)); }); + + defs.forEach(wrapper::registerApplicationCommand); } public void handle(Object context) {