From ac0eb92efde7de2e5f7c3ffbb286f104d19d72e8 Mon Sep 17 00:00:00 2001 From: Jerryplusy Date: Thu, 28 Aug 2025 01:18:04 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=86=E8=8A=82=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/poke.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/poke.js b/apps/poke.js index ab76ed7..bd832e1 100644 --- a/apps/poke.js +++ b/apps/poke.js @@ -71,8 +71,8 @@ async function handleBotPoke(e) { type: 'poke', id: 'poke', }); - if (res.success) { - return await e.reply(res.data); + if (res.data.success) { + return await e.reply(res.data.data); } else { return await e.reply(`戳一戳出错了!${configControl.get('nickName')}不知道该说啥好了..`); } @@ -90,8 +90,8 @@ async function handleBotPoke(e) { type: 'poke', id: 'poke', }); - if (res.success) { - const message = res.data.toString(); + if (res.data.success) { + const message = res.data.data.toString(); //let message = cleanText(res.data.data.toString()); //logger.info(message); return await e.bot.sendApi('get_ai_record', {