mirror of
https://github.com/Jerryplusy/crystelf-plugin.git
synced 2025-07-04 14:19:19 +00:00
优化poke
This commit is contained in:
parent
2f46563d01
commit
5e076e0564
@ -79,8 +79,8 @@ async function chuochuo(e) {
|
|||||||
const returnData = await axios.get(
|
const returnData = await axios.get(
|
||||||
`${configControl.get(`coreConfig`)?.coreUrl}/api/words/getText/poke`
|
`${configControl.get(`coreConfig`)?.coreUrl}/api/words/getText/poke`
|
||||||
);
|
);
|
||||||
if (returnData?.success) {
|
if (returnData?.data?.success) {
|
||||||
let message = returnData?.data;
|
let message = returnData.data.data.toString();
|
||||||
message = cleanText(message);
|
message = cleanText(message);
|
||||||
return await e.bot.sendApi('get_ai_record', {
|
return await e.bot.sendApi('get_ai_record', {
|
||||||
group_id: e.group_id,
|
group_id: e.group_id,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user