mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-22 06:58:24 +00:00
老婆设置支持更多间隔符
This commit is contained in:
parent
f0cc277a9a
commit
93f7ebf450
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user