mirror of
https://github.com/ZZZure/ZZZ-Plugin.git
synced 2025-12-16 13:17:32 +00:00
fix:攻略缺失
This commit is contained in:
parent
1408886408
commit
38ee053bbc
1 changed files with 1 additions and 1 deletions
|
|
@ -30,11 +30,11 @@ export class Guide extends ZZZPlugin {
|
|||
// 来源:新艾利都快讯
|
||||
[2712859],
|
||||
]
|
||||
this.source = ['新艾利都快讯']
|
||||
}
|
||||
async Guide() {
|
||||
let reg = new RegExp(`${rulePrefix}角色攻略(\\S+)$`);
|
||||
let [,,,, name] = this.e.msg.match(reg);
|
||||
console.log(name)
|
||||
let id = atlasToName(name);
|
||||
if (!id) {
|
||||
await this.reply('该角色不存在');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue