diff --git a/abstracto-application/abstracto-modules/webservices/webservices-impl/src/main/java/dev/sheldan/abstracto/webservices/currencyconversion/command/ConvertCurrency.java b/abstracto-application/abstracto-modules/webservices/webservices-impl/src/main/java/dev/sheldan/abstracto/webservices/currencyconversion/command/ConvertCurrency.java index 791d78ffa..c2056845a 100644 --- a/abstracto-application/abstracto-modules/webservices/webservices-impl/src/main/java/dev/sheldan/abstracto/webservices/currencyconversion/command/ConvertCurrency.java +++ b/abstracto-application/abstracto-modules/webservices/webservices-impl/src/main/java/dev/sheldan/abstracto/webservices/currencyconversion/command/ConvertCurrency.java @@ -127,6 +127,7 @@ public class ConvertCurrency extends AbstractConditionableCommand { .enabled(true) .rootCommandName(WebServicesSlashCommandNames.CONVERSION) .commandName("currency") + .userInstallable(true) .build(); return CommandConfiguration.builder() diff --git a/abstracto-application/core/core-impl/src/main/java/dev/sheldan/abstracto/core/interaction/slash/SlashCommandServiceBean.java b/abstracto-application/core/core-impl/src/main/java/dev/sheldan/abstracto/core/interaction/slash/SlashCommandServiceBean.java index 36753697a..8e42547be 100644 --- a/abstracto-application/core/core-impl/src/main/java/dev/sheldan/abstracto/core/interaction/slash/SlashCommandServiceBean.java +++ b/abstracto-application/core/core-impl/src/main/java/dev/sheldan/abstracto/core/interaction/slash/SlashCommandServiceBean.java @@ -78,7 +78,10 @@ public class SlashCommandServiceBean implements SlashCommandService { String internalCommandName = commandConfiguration.getName(); if(!isTemplated) { description = commandConfiguration.getDescription(); - } else { + } else if(commandConfiguration.isUserInstallable() && userCommandsOnly) { + description = templateService.renderSimpleTemplate(internalCommandName + "_description_user", serverId); + } + else { description = templateService.renderSimpleTemplate(internalCommandName + "_description", serverId); } String rootName = userCommandsOnly ? StringUtils.defaultString(slashConfig.getUserSlashCompatibleRootName(), slashConfig.getSlashCompatibleRootName()) : slashConfig.getSlashCompatibleRootName(); diff --git a/abstracto-application/pom.xml b/abstracto-application/pom.xml index e2206334b..0e23a32e8 100644 --- a/abstracto-application/pom.xml +++ b/abstracto-application/pom.xml @@ -33,7 +33,7 @@ scm:git:${project.scm.url} scm:git:${project.scm.url} https://github.com/Sheldan/abstracto.git - v1.5.62 + v1.6.0