Add clear chat filter

This commit is contained in:
7cc5c4f330d47060 2024-07-19 12:10:11 -04:00
parent 6eefe2d4b1
commit 0630574900

View file

@ -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;