From 7f462942c00ac38a0ac0ed134f94ac1fdf2d186c Mon Sep 17 00:00:00 2001 From: business-goose Date: Fri, 26 Mar 2021 16:48:49 +0000 Subject: [PATCH] sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss --- plugins/chatParse.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/chatParse.js b/plugins/chatParse.js index 159e9d6..ff2af4d 100644 --- a/plugins/chatParse.js +++ b/plugins/chatParse.js @@ -21,7 +21,7 @@ module.exports = { } else if (msg.match(/<.*> .*/g)) { if(data.sender === '00000000-0000-0000-0000-000000000000') return; let username = msg.substr(3).split(">")[0]; - let message = msg.split("> §r").replace(/<.*>/gm,"<$&§r>")[1]; + let message = msg.split("> ")[1]; client.emit("message", username, message, data.sender); } else if (msg.match(/.* .*§r: §.*/g)) { if(data.sender === '00000000-0000-0000-0000-000000000000') return;