mirror of
https://github.com/Jerryplusy/crystelf-plugin.git
synced 2025-10-14 05:39:18 +00:00
fix:修复管理员逻辑错误
This commit is contained in:
parent
c764ecc9f9
commit
9415f4fcc3
@ -113,6 +113,8 @@ export class CarbonAuth extends plugin {
|
||||
//加群事件
|
||||
Bot.on?.('notice.group.increase', async (e) => {
|
||||
if (e.isMaster) return true;
|
||||
const key = `${e.group_id}_${e.user_id}`;
|
||||
if (this.pending.get(key)) return true;
|
||||
await this.auth(e, e.group_id, e.user_id);
|
||||
});
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user