mirror of
https://github.com/TheDeus-Group/TFM-4.3-Reloaded.git
synced 2024-12-23 03:14:56 +00:00
Merge branch 'main' of https://github.com/TheDeus-Group/TFM-4.3-Reloaded
This commit is contained in:
commit
583e8909e9
2 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue