修改设置私聊cd

This commit is contained in:
yeyang
2022-10-10 20:14:36 +08:00
parent aea99929ad
commit 53bd95085c

View File

@@ -197,14 +197,14 @@ export class sese extends plugin {
//单独设置私聊cd
async atcd(e) {
if (e.message[0].type != "at") return;
if (!e.isGroup) return e.reply("请在群聊使用此指令");
if (!e.isMaster) return e.reply("❎ 该命令仅限管理员可用", true);
this.file();
if (e.message[0].type != "at") return;
let cd = e.msg.match(/[0-9]\d*/g)
let qq = e.message[0].qq