mirror of
https://github.com/Jerryplusy/rc-plugin.git
synced 2025-10-14 16:19:18 +00:00
🦄 reactor: 添加一些必要说明
This commit is contained in:
parent
f91d3b495c
commit
a92c786f6f
@ -1032,10 +1032,10 @@ export class tools extends plugin {
|
|||||||
// 下载音乐
|
// 下载音乐
|
||||||
downloadAudio(url, this.getCurDownloadPath(e), title, 'follow', musicExt).then(async path => {
|
downloadAudio(url, this.getCurDownloadPath(e), title, 'follow', musicExt).then(async path => {
|
||||||
// 发送语音
|
// 发送语音
|
||||||
// e.reply(segment.record(path));
|
|
||||||
// 判断是不是icqq
|
|
||||||
await e.reply(segment.record(path));
|
await e.reply(segment.record(path));
|
||||||
|
// 上传群文件
|
||||||
await this.uploadGroupFile(e, path);
|
await this.uploadGroupFile(e, path);
|
||||||
|
// 删除文件
|
||||||
await checkAndRemoveFile(path);
|
await checkAndRemoveFile(path);
|
||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
logger.error(`下载音乐失败,错误信息为: ${ err.message }`);
|
logger.error(`下载音乐失败,错误信息为: ${ err.message }`);
|
||||||
|
@ -123,6 +123,7 @@ export const NETEASE_SONG_DETAIL = "https://neteasecloudmusicapi.vercel.app/song
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* 下载VIP的临时接口 (感谢桑帛云API,如果站长能看到)
|
* 下载VIP的临时接口 (感谢桑帛云API,如果站长能看到)
|
||||||
|
* 备用:另外一个兜底策略:https://www.hhlqilongzhu.cn/api/dg_wyymusic.php?gm={搜索内容}&n=1&type=json
|
||||||
* @type {string}
|
* @type {string}
|
||||||
*/
|
*/
|
||||||
export const NETEASE_TEMP_API = "https://api.lolimi.cn/API/wydg/api.php?msg={}&n=1"
|
export const NETEASE_TEMP_API = "https://api.lolimi.cn/API/wydg/api.php?msg={}&n=1"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user