老婆设置支持更多间隔符

This commit is contained in:
yoimiya-kokomi 2022-06-30 07:16:20 +08:00
parent f0cc277a9a
commit 93f7ebf450

View File

@ -121,7 +121,7 @@ export async function wife(e, { render, User }) {
return true;
}
// 选择老婆
actionParam = actionParam.replace(//g, ",");
actionParam = actionParam.replace(/(|、|;|)/g, ",");
wifeList = actionParam.split(",");
let addRet = [];
if (lodash.intersection(["全部", "任意", "随机", "全都要"], wifeList).length > 0) {