From 5bd2e7bbe905d434198a7d92bc4cd83f573e4dfc Mon Sep 17 00:00:00 2001 From: Louis Vallat Date: Fri, 30 Oct 2020 14:11:07 +0100 Subject: [PATCH] Added escaping for italics Signed-off-by: Louis Vallat --- src/main/java/xyz/vallat/louis/commands/Quote.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/xyz/vallat/louis/commands/Quote.java b/src/main/java/xyz/vallat/louis/commands/Quote.java index fd9aa00..08a347f 100644 --- a/src/main/java/xyz/vallat/louis/commands/Quote.java +++ b/src/main/java/xyz/vallat/louis/commands/Quote.java @@ -30,7 +30,7 @@ public class Quote extends Command { if (quote == null) embed.setDescription("We don't have any quote in that language right now! Sorry!").setColor(Color.ORANGE); else { - embed.setDescription(quote.getSubtitleBlock().getDialogue()); + embed.setDescription(quote.getSubtitleBlock().getDialogue().replaceAll("|", "*")); embed.setFooter(quote.getMovie().toString(), null); embed.setColor(Color.MEDIUM_SEA_GREEN); }