Increase Discord module console relay message limit

This commit is contained in:
Josh Roy 2022-08-21 16:44:24 -04:00
parent 697128bcf2
commit 5276204cf2

View File

@ -83,7 +83,7 @@ public class ConsoleInjector extends AbstractAppender {
entry = "[" + event.getLoggerName() + "] " + entry;
}
messageQueue.addAll(Splitter.fixedLength(Message.MAX_CONTENT_LENGTH - 2).splitToList(
messageQueue.addAll(Splitter.fixedLength(Message.MAX_CONTENT_LENGTH - 50).splitToList(
MessageUtil.formatMessage(jda.getSettings().getConsoleFormat(),
TimeFormat.TIME_LONG.format(Instant.now()),
event.getLevel().name(),