增加#群星级权限

This commit is contained in:
yeyang
2022-10-10 01:40:24 +08:00
parent d9c6c87317
commit 09ffd2c54a

View File

@@ -686,9 +686,10 @@ export class example extends plugin {
}
async Group_xj(e) {
if (e.isPrivate) return e.reply("请在群聊使用哦~")
if (!e.isMaster && !e.member.is_owner && !e.member.is_admin) return e.reply("❎ 该命令仅限管理员可用", true);
let ck = getck("qqweb.qq.com")
let url = `http://xiaobai.klizi.cn/API/qqgn/qun_xj.php?data=&uin=${Bot.uin}&skey=${ck.skey}&pskey=${ck.p_skey}&group=${e.group_id}`