Skip to content

Commit

Permalink
fix(definition): remove double line break
Browse files Browse the repository at this point in the history
  • Loading branch information
LeRoiDesKiwis committed Jun 23, 2024
1 parent a94f3ed commit 6edc77f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 6edc77f

Please sign in to comment.