diff --git a/src/handler/discord.js b/src/handler/discord.js index 6accd07..3065291 100644 --- a/src/handler/discord.js +++ b/src/handler/discord.js @@ -73,7 +73,7 @@ module.exports = class { const mapped_username = `${event.type == "minetest" ? "" : "@" + event.name}`; // escape formatting characters const escaped_username = event.username.replace(/([*_`~|])/g, "\\$1"); - const escaped_message = event.message.replace(/([*_`~|])/g, "\\$1"); + const escaped_message = event.message.replace(/(?