This commit is contained in:
business-goose 2022-03-21 09:28:50 +00:00
commit 583e8909e9
2 changed files with 2 additions and 2 deletions

View file

@ -1,4 +1,4 @@
# TotalFreedomMod v4.3 Reloaded #
TotalFreedomMod v4.3 Reloaded is a fork of the original TotalFreedomMod v4.3 that hopes to fix bugs, improve quality of life and improve code readability.
It is in no way meant to infringe upon the [orginal TotalFreedomMod license](LICENSE.md) in any way. Thank you for your understanding.
It is in no way meant to infringe upon the [original TotalFreedomMod license](LICENSE.md) in any way. Thank you for your understanding.

View file

@ -109,7 +109,7 @@ public class DiscordBridge {
message = message.substring(0, 2000);
}
return message.replaceAll(colors.pattern(), "").replaceAll(pings.pattern(), "@\u200B");
return message.replaceAll(colors.pattern(), "").replaceAll(pings.pattern(), "@\u200B").replaceAll("([`_~*])", "\\\\$1");
}
public static void transmitMessage(String message) {