From 6edc77fbc78e9be9d19b556d29e68a9d4df755d6 Mon Sep 17 00:00:00 2001 From: LeRoiDesKiwis Date: Sun, 23 Jun 2024 19:37:26 +0200 Subject: [PATCH] fix(definition): remove double line break --- .../omegabot/command/fun/UrbanDictionaryCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/fr/leroideskiwis/omegabot/command/fun/UrbanDictionaryCommand.java b/src/main/java/fr/leroideskiwis/omegabot/command/fun/UrbanDictionaryCommand.java index 88e01da..95387aa 100644 --- a/src/main/java/fr/leroideskiwis/omegabot/command/fun/UrbanDictionaryCommand.java +++ b/src/main/java/fr/leroideskiwis/omegabot/command/fun/UrbanDictionaryCommand.java @@ -57,7 +57,7 @@ public void execute(OmegaUser user, SlashCommandInteraction event) { for (int i = 0; i < definitionsToDisplay; i++) { JsonObject definitionObj = definitionsList.get(i).getAsJsonObject(); String definition = cleanDefinition(definitionObj.get("definition").getAsString()); - definitionsText.append("- ").append(definition).append("\n\n"); + definitionsText.append("- ").append(definition).append("\n"); } event.replyEmbeds(new EmbedBuilder()