feat: NTGroupMemberRole

This commit is contained in:
手瓜一十雪
2024-11-21 14:15:22 +08:00
parent f2ddcdefd2
commit c75c9c2d27
7 changed files with 17 additions and 19 deletions

View File

@@ -2,7 +2,7 @@ import {
BuddyReqType,
ChatType,
DataSource,
GroupMemberRole,
NTGroupMemberRole,
GroupNotifyMsgStatus,
GroupNotifyMsgType,
InstanceContext,
@@ -524,7 +524,7 @@ export class NapCatOneBot11Adapter {
this.core,
parseInt(groupCode),
parseInt(member.uin),
member.role === GroupMemberRole.admin ? 'set' : 'unset'
member.role === NTGroupMemberRole.KADMIN ? 'set' : 'unset'
);
this.networkManager
.emitEvent(groupAdminNoticeEvent)