From 7b3e1940966dd5ff0c9445a2caebc20ec8e24818 Mon Sep 17 00:00:00 2001 From: 7cc5c4f330d47060 Date: Wed, 17 Jul 2024 10:16:59 -0400 Subject: [PATCH] Add plain chat event --- plugins/!chat.js | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/!chat.js b/plugins/!chat.js index 7251298..734fe2b 100755 --- a/plugins/!chat.js +++ b/plugins/!chat.js @@ -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;