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:
Sheldan
2020-04-06 00:51:07 +02:00
parent 4b3765ee0f
commit 20cb43d071
60 changed files with 840 additions and 155 deletions

View File

@@ -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();
}