为#刷新排行 增加提醒,防止因为uid数据基数过大导致用户认为命令未触发而进行二次#刷新排行 (#269)

This commit is contained in:
SunRyK 2022-11-16 22:11:04 +08:00 committed by GitHub
parent fd7afd241e
commit 6589fef63c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -95,6 +95,7 @@ export async function refreshRank (e) {
e.reply('只有管理员可刷新排名...')
return true
}
e.reply('面板数据刷新中,等待时间可能较长,请耐心等待...')
let groupUids = await Common.getGroupUids(e)
let count = 0
for (let qq in groupUids) {