细节修复

This commit is contained in:
Jerry 2025-08-28 01:18:04 +08:00
parent c0b75eeaa0
commit ac0eb92efd

View File

@ -71,8 +71,8 @@ async function handleBotPoke(e) {
type: 'poke', type: 'poke',
id: 'poke', id: 'poke',
}); });
if (res.success) { if (res.data.success) {
return await e.reply(res.data); return await e.reply(res.data.data);
} else { } else {
return await e.reply(`戳一戳出错了!${configControl.get('nickName')}不知道该说啥好了..`); return await e.reply(`戳一戳出错了!${configControl.get('nickName')}不知道该说啥好了..`);
} }
@ -90,8 +90,8 @@ async function handleBotPoke(e) {
type: 'poke', type: 'poke',
id: 'poke', id: 'poke',
}); });
if (res.success) { if (res.data.success) {
const message = res.data.toString(); const message = res.data.data.toString();
//let message = cleanText(res.data.data.toString()); //let message = cleanText(res.data.data.toString());
//logger.info(message); //logger.info(message);
return await e.bot.sendApi('get_ai_record', { return await e.bot.sendApi('get_ai_record', {