mirror of
https://github.com/Jerryplusy/crystelf-plugin.git
synced 2025-07-04 06:09:19 +00:00
优化poke
This commit is contained in:
parent
5e076e0564
commit
9db83a0fee
@ -64,6 +64,7 @@ async function chuochuo(e) {
|
||||
await axios
|
||||
.get(`${configControl.get(`coreConfig`)?.coreUrl}/api/words/getText/poke`)
|
||||
.then((res) => {
|
||||
logger.info(JSON.stringify(res));
|
||||
if (res.data?.success) {
|
||||
return res.data.data;
|
||||
} else {
|
||||
@ -82,6 +83,7 @@ async function chuochuo(e) {
|
||||
if (returnData?.data?.success) {
|
||||
let message = returnData.data.data.toString();
|
||||
message = cleanText(message);
|
||||
logger.info(message);
|
||||
return await e.bot.sendApi('get_ai_record', {
|
||||
group_id: e.group_id,
|
||||
character: 'lucy-voice-hoige',
|
||||
|
Loading…
x
Reference in New Issue
Block a user