mirror of
https://github.com/ctrlcvs/xiaoyao-cvs-plugin.git
synced 2024-12-22 19:10:53 +08:00
fix
This commit is contained in:
parent
2e4f326dc6
commit
4b4decf083
@ -96,9 +96,9 @@ export async function roleInfo(e) {
|
|||||||
id = Botcfg.roleIdToName(msg);
|
id = Botcfg.roleIdToName(msg);
|
||||||
}
|
}
|
||||||
let name;
|
let name;
|
||||||
if (["10000005", "10000007", "20000000"].includes(id)) {
|
if (["10000005", "10000007", "20000000"].includes(id+"")) {
|
||||||
if (!["风主", "岩主", "雷主", "草主"].includes(msg)) {
|
if (!["风主", "岩主", "雷主", "草主", "水主"].includes(msg)) {
|
||||||
e.reply("请选择:风主图鉴、岩主图鉴、雷主图鉴、草主图鉴");
|
e.reply("请选择:风主图鉴、岩主图鉴、雷主图鉴、草主图鉴、水主图鉴");
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
name = msg;
|
name = msg;
|
||||||
|
Loading…
Reference in New Issue
Block a user