mirror of
https://github.com/ctrlcvs/xiaoyao-cvs-plugin.git
synced 2025-01-05 06:41:09 +08:00
更新部分内容
This commit is contained in:
parent
c37b940289
commit
7349aa021d
@ -80,9 +80,9 @@ export async function weaponInfo(e) {
|
||||
if (e.atBot) {
|
||||
msg = "#" + msg.replace("#", "");
|
||||
}
|
||||
if (!/(#*(.*)(信息|图鉴|突破)|#(.*))$/.test(msg)) return;
|
||||
if (!/(#*(.*)(信息|图鉴|突破|武器|材料)|#(.*))$/.test(msg)) return;
|
||||
|
||||
let name = weapon.get(msg.replace(/#|#|信息|图鉴|突破/g, ""));
|
||||
let name = weapon.get(msg.replace(/#|#|信息|图鉴|突破|武器|材料/g, ""));
|
||||
|
||||
if (name) {
|
||||
send_Msg(e, "wuqi_tujian", name)
|
||||
@ -130,7 +130,6 @@ export async function monsterInfo(e) {
|
||||
}
|
||||
if (!/(#*(原魔|怪物)(.*)|#(.*))$/.test(msg)) return;
|
||||
let name = msg.replace(/#|#|信息|副本|本|图鉴|数据|原魔/g, "");
|
||||
console.log(name)
|
||||
if (name) {
|
||||
send_Msg(e, "yuanmo_tujian", name)
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user