[SIS-xxx] adaption to new abstracto version

removing not needed template
adding suffix to template for level action
This commit is contained in:
Sheldan
2024-11-22 22:58:17 +01:00
parent 208dd8c893
commit 29a1473073
4 changed files with 1 additions and 7 deletions

View File

@@ -53,7 +53,7 @@ public class QuoteStats extends AbstractConditionableCommand {
targetMember = (Member) parameters.get(0);
}
QuoteStatsModel model = quoteServiceBean.getQuoteStats(targetMember);
return FutureUtils.toSingleFutureGeneric(channelService.sendEmbedTemplateInMessageChannelList(QUOTE_STATS_RESPONSE_TEMPLATE_KEY, model, commandContext.getChannel()))
return FutureUtils.toSingleFutureGeneric(channelService.sendEmbedTemplateInMessageChannel(QUOTE_STATS_RESPONSE_TEMPLATE_KEY, model, commandContext.getChannel()))
.thenApply(unused -> CommandResult.fromSuccess());
}