判断是否踢出成功

This commit is contained in:
yeyang
2022-11-03 01:06:22 +08:00
parent b8ba2eb165
commit 031bdd4e4d
2 changed files with 2 additions and 2 deletions

View File

@@ -569,7 +569,7 @@ export class Basics extends plugin {
if (index % 10 == 0) {
e.reply(`已经清理了${index}个人辣٩(๑•̀ω•́๑)۶`)
}
await e.group.kickMember(i)
if (!await e.group.kickMember(i)) e.reply(`踢出${i}失败勒( •̥́ ˍ •̀ू )`)
await Cfg.sleep(5000)
index++
}

View File

@@ -165,7 +165,7 @@ class Group_admin {
if (index % 10 == 0) {
e.reply(`已经清理了${index}个人辣٩(๑•̀ω•́๑)۶`)
}
await e.group.kickMember(i)
if (!await e.group.kickMember(i)) e.reply(`踢出${i}失败勒( •̥́ ˍ •̀ू )`)
index++;
await Cfg.sleep(5000)
}