Add plain chat event
This commit is contained in:
parent
6920625109
commit
7b3e194096
1 changed files with 1 additions and 0 deletions
|
@ -51,6 +51,7 @@ module.exports={
|
|||
})
|
||||
b.on("chat",(data)=>{
|
||||
const msg=parse(data.json);
|
||||
b.emit("plainchat",msg[1])
|
||||
console2.write(`[${b.id}] [${data.type}] `+msg[0])
|
||||
let fullCommand = data.message;
|
||||
|
||||
|
|
Loading…
Reference in a new issue