Skip to content

Commit 0c81d1c

Browse files
DevSerendipityZabuzard
authored andcommitted
Added the bullet point char instead of the UTF way of doing it
1 parent f84b78b commit 0c81d1c

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

application/src/main/java/org/togetherjava/tjbot/commands/tags/TagsCommand.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,8 @@ public void onSlashCommand(@NotNull SlashCommandEvent event) {
5656
logger.warn(
5757
"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.");
5858
}
59-
String tagListText = tagIds.stream()
60-
.sorted()
61-
.map(tag -> "\u2022 " + tag)
62-
.collect(Collectors.joining("\n"));
59+
String tagListText =
60+
tagIds.stream().sorted().map(tag -> "• " + tag).collect(Collectors.joining("\n"));
6361

6462
event
6563
.replyEmbeds(MessageUtils.generateEmbed("All available tags", tagListText,

0 commit comments

Comments
 (0)