mirror of
https://github.com/Sheldan/abstracto.git
synced 2026-03-05 07:59:36 +00:00
added command to manage channel groups
added ability to disable command in channel groups refactored embed handling to support multiple embeds to be send at once (handling to decide to split into multiple embeds is still needed)
This commit is contained in:
@@ -18,6 +18,7 @@ import org.springframework.ui.freemarker.FreeMarkerTemplateUtils;
|
||||
import java.awt.*;
|
||||
import java.io.IOException;
|
||||
import java.time.Instant;
|
||||
import java.util.Arrays;
|
||||
import java.util.HashMap;
|
||||
|
||||
@Slf4j
|
||||
@@ -91,7 +92,7 @@ public class TemplateServiceBean implements TemplateService {
|
||||
|
||||
|
||||
return MessageToSend.builder()
|
||||
.embed(builder.build())
|
||||
.embeds(Arrays.asList(builder.build()))
|
||||
.message(configuration.getAdditionalMessage())
|
||||
.build();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user