Add clear chat filter
This commit is contained in:
parent
6eefe2d4b1
commit
0630574900
1 changed files with 1 additions and 0 deletions
|
@ -91,6 +91,7 @@ module.exports={
|
|||
})
|
||||
b.on("chat",(data)=>{
|
||||
const msg=parse(data.json);
|
||||
if(msg[1].endsWith("\n\n\n\n\nThe chat has been cleared")) return;
|
||||
b.emit("plainchat",msg[1])
|
||||
console2.write(`[${b.id}] [${data.type}] `+msg[0])
|
||||
let fullCommand = data.message;
|
||||
|
|
Loading…
Reference in a new issue