2
0
mirror of https://github.com/ctrlcvs/xiaoyao-cvs-plugin.git synced 2024-12-22 11:00:51 +08:00
This commit is contained in:
ctrlcvs 2024-05-03 15:13:49 +08:00
parent 2e4f326dc6
commit 4b4decf083

View File

@ -96,9 +96,9 @@ export async function roleInfo(e) {
id = Botcfg.roleIdToName(msg);
}
let name;
if (["10000005", "10000007", "20000000"].includes(id)) {
if (!["风主", "岩主", "雷主", "草主"].includes(msg)) {
e.reply("请选择:风主图鉴、岩主图鉴、雷主图鉴、草主图鉴");
if (["10000005", "10000007", "20000000"].includes(id+"")) {
if (!["风主", "岩主", "雷主", "草主", "水主"].includes(msg)) {
e.reply("请选择:风主图鉴、岩主图鉴、雷主图鉴、草主图鉴、水主图鉴");
return true;
}
name = msg;