refactor(command): add CommandRegisterer

This commit is contained in:
2025-03-16 17:06:37 +01:00
parent e3fc10a1ce
commit 24df1731da
4 changed files with 63 additions and 6 deletions

View File

@@ -64,7 +64,7 @@ public class InteractionRegistry {
.aggregate(slashIdentifiers)
.toArray(SlashCommandDefinition[]::new);
marinara.getWrapper().registerSlashCommands(defs);
marinara.getWrapper().getRegisterer().register(defs);
logger.info("Registered all SlashCommands");
}