Added escaping for italics
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
This commit is contained in:
parent
2f23965e9a
commit
5bd2e7bbe9
@ -30,7 +30,7 @@ public class Quote extends Command {
|
|||||||
if (quote == null)
|
if (quote == null)
|
||||||
embed.setDescription("We don't have any quote in that language right now! Sorry!").setColor(Color.ORANGE);
|
embed.setDescription("We don't have any quote in that language right now! Sorry!").setColor(Color.ORANGE);
|
||||||
else {
|
else {
|
||||||
embed.setDescription(quote.getSubtitleBlock().getDialogue());
|
embed.setDescription(quote.getSubtitleBlock().getDialogue().replaceAll("<i>|</i>", "*"));
|
||||||
embed.setFooter(quote.getMovie().toString(), null);
|
embed.setFooter(quote.getMovie().toString(), null);
|
||||||
embed.setColor(Color.MEDIUM_SEA_GREEN);
|
embed.setColor(Color.MEDIUM_SEA_GREEN);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user