Skip to content

Commit

Permalink
Increase Discord module console relay message limit
Browse files Browse the repository at this point in the history
  • Loading branch information
JRoy committed Jul 1, 2023
1 parent 697128b commit 5276204
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public void append(LogEvent event) {
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(),
Expand Down

0 comments on commit 5276204

Please sign in to comment.