fix agfen??
This commit is contained in:
parent
902c8d51f9
commit
ed6a3d8ff5
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ module.exports = {
|
||||||
} else if (msg.match(/<.*> .*/g)) {
|
} else if (msg.match(/<.*> .*/g)) {
|
||||||
if(data.sender === '00000000-0000-0000-0000-000000000000') return;
|
if(data.sender === '00000000-0000-0000-0000-000000000000') return;
|
||||||
let username = msg.substr(3).split(">")[0];
|
let username = msg.substr(3).split(">")[0];
|
||||||
let message = msg.split("§r> §r")[1];
|
let message = msg.split("> §r").replace(/<.*>/gm,"<$&§r>")[1];
|
||||||
client.emit("message", username, message, data.sender);
|
client.emit("message", username, message, data.sender);
|
||||||
} else if (msg.match(/.* .*§r: §.*/g)) {
|
} else if (msg.match(/.* .*§r: §.*/g)) {
|
||||||
if(data.sender === '00000000-0000-0000-0000-000000000000') return;
|
if(data.sender === '00000000-0000-0000-0000-000000000000') return;
|
||||||
|
|
Loading…
Reference in a new issue