From f4d584765a2664ad5b49fda89b9169d9d6ab246e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=89=8B=E7=93=9C=E4=B8=80=E5=8D=81=E9=9B=AA?= Date: Fri, 17 May 2024 21:58:48 +0800 Subject: [PATCH] build: 1.3.5-beta30 --- src/onebot11/main.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/onebot11/main.ts b/src/onebot11/main.ts index 298b2546..307edda3 100644 --- a/src/onebot11/main.ts +++ b/src/onebot11/main.ts @@ -298,6 +298,7 @@ export class NapCatOnebot11 { // if (notify.user2.uid) { // member2 = await getGroupMember(notify.group.groupCode, null, notify.user2.uid); // } + if ([GroupNotifyTypes.ADMIN_SET, GroupNotifyTypes.ADMIN_UNSET, GroupNotifyTypes.ADMIN_UNSET_OTHER].includes(notify.type)) { const member1 = await getGroupMember(notify.group.groupCode, notify.user1.uid); logDebug('有管理员变动通知');