From 9e330e2de4f37666dfe660a0edaed126d5e131bb Mon Sep 17 00:00:00 2001 From: mol Date: Thu, 14 Dec 2023 12:04:19 +0800 Subject: [PATCH] test --- plugins/cook/index.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/plugins/cook/index.js b/plugins/cook/index.js index e84ebaf..bb6e0d4 100644 --- a/plugins/cook/index.js +++ b/plugins/cook/index.js @@ -41,11 +41,8 @@ function cookInit() { } function dealCommon(data) { - for (let i of Object.keys(data)) { - logger(data[i]) - } logger('开始处理指令') - logger(data) + logger(JSON.stringify(data)) const [commandText, ...contentText] = data.text.trim().split(' '); for (let com of Object.keys(cookCommand)) { if (cookCommand[com].includes(commandText)) {