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;