mirror of
https://github.com/Jerryplusy/crystelf-plugin.git
synced 2025-12-05 15:41:56 +00:00
细节修复
This commit is contained in:
parent
c0b75eeaa0
commit
ac0eb92efd
@ -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', {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user