mirror of
https://github.com/Jerryplusy/rc-plugin.git
synced 2025-10-14 16:19:18 +00:00
🐞 fix: V1.6.7-lts 修复netease下载部分用户无法使用问题
1. 修复函数`downloadMp3`导致的一系列下载问题 2. 修复netease music下载 3. 修复皮皮虾的问题 4. 修正部分注释
This commit is contained in:
parent
e532a90fcd
commit
c022e595c0
@ -1792,9 +1792,9 @@ export class tools extends plugin {
|
||||
*/
|
||||
async uploadGroupFile(e, path) {
|
||||
if (e.bot?.sendUni) {
|
||||
e.group.fs.upload(path);
|
||||
await e.group.fs.upload(path);
|
||||
} else {
|
||||
e.group.sendFile(path);
|
||||
await e.group.sendFile(path);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user