2
0
mirror of https://github.com/ctrlcvs/xiaoyao-cvs-plugin.git synced 2024-12-22 19:10:53 +08:00

更新草主图鉴

This commit is contained in:
Ctrlcvs 2022-07-26 21:33:33 +08:00 committed by leiyilu
parent 64c884cddb
commit 9775aa4ac3

View File

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