You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Improved the event reply with extracting the stream into a seperate variable, changing the logger inside the if condition and making the logger finall static, also renaming the magic number 200 to something more understandable MAX_TAGS_THRESHOLD_WARNING, and finally removing the ArrayList with provided value and using the direct value instead.
logger.warning("- WARNING - TAGS ARE BEYOND 200 LINES ");
51
+
logger.warn(
52
+
"The amount of tags is very high and it might soon exceed the maximum character limit. The code should be adjusted to support this edge case soon.\n");
57
53
}
54
+
StringtagListText = tagSystem.getAllIds()
55
+
.stream()
56
+
.sorted()
57
+
.map(tag -> "* " + tag)
58
+
.collect(Collectors.joining("\n"));
58
59
59
-
event.replyEmbeds(MessageUtils.generateEmbed("All available tags",
0 commit comments