Open zhuaoshuai13 opened 1 year ago
后台显示已经发送,但是QQ没有消息的显示,如果是普通的图片,能够正常显示
如何复现?我这里是正常的。
async function send(r18, tagA, tagB) { await bot.open({ baseUrl: "http://localhost:8080", verifyKey: "1234567890", qq: 3386718968, });
function format(tag) { return tag.join(",").replace(/,/g, "|"); }
axios
.get(
https://api.lolicon.app/setu/v2?r18=${r18}?tag=${format( tagA )}&tag=${format(tagB)}
)
.then(function (response) {
// handle success
const url = response.data.data[0].urls.original;
console.log(url);
bot.sendMessage({
group: groupNumber,
message: new Message().addImageUrl(url),
});
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// always executed
});
}