We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 671fe10 commit 8e6a314Copy full SHA for 8e6a314
common/src/main/java/me/anutley/dislink/common/delivery/sender/MessageSender.java
@@ -321,7 +321,7 @@ protected String replaceDefaultMessagePlaceholders(String format) {
321
format = replaceGuildPlaceholders(format, "origin", originChannel());
322
format = replaceGuildPlaceholders(format, "destination", destinationChannel());
323
324
- format = format.replaceAll("%message%", message.getContentRaw());
+ format = format.replaceAll("%message%", Matcher.quoteReplacement(message.getContentRaw()));
325
326
Matcher match = Pattern.compile("%.+%").matcher(format);
327
0 commit comments