🐞 fix:修复部分music失败问题

This commit is contained in:
zhiyu1998 2024-08-01 22:08:44 +08:00
parent 730d5e7672
commit fe3ffbf2ca

View File

@ -1764,7 +1764,7 @@ export class tools extends plugin {
return true;
}
} else {
const normalRegex = /^(.*?)\s+https?:\/\//;
const normalRegex = /^(.*?)\s*https?:\/\//;
musicInfo = normalRegex.exec(e.msg)?.[1].trim();
}
// 删除特殊字符