🦄 reactor: 添加一些必要说明

This commit is contained in:
zhiyu1998 2024-05-30 22:25:04 +08:00
parent f91d3b495c
commit a92c786f6f
2 changed files with 3 additions and 2 deletions

View File

@ -1032,10 +1032,10 @@ export class tools extends plugin {
// 下载音乐
downloadAudio(url, this.getCurDownloadPath(e), title, 'follow', musicExt).then(async path => {
// 发送语音
// e.reply(segment.record(path));
// 判断是不是icqq
await e.reply(segment.record(path));
// 上传群文件
await this.uploadGroupFile(e, path);
// 删除文件
await checkAndRemoveFile(path);
}).catch(err => {
logger.error(`下载音乐失败,错误信息为: ${ err.message }`);

View File

@ -123,6 +123,7 @@ export const NETEASE_SONG_DETAIL = "https://neteasecloudmusicapi.vercel.app/song
/**
* 下载VIP的临时接口 (感谢桑帛云API如果站长能看到)
* 备用另外一个兜底策略https://www.hhlqilongzhu.cn/api/dg_wyymusic.php?gm={搜索内容}&n=1&type=json
* @type {string}
*/
export const NETEASE_TEMP_API = "https://api.lolimi.cn/API/wydg/api.php?msg={}&n=1"