feat: NTGroupMemberRole
This commit is contained in:
1 parent
f2ddcdefd2
commit
c75c9c2d27
7 files changed
+17
-19
No files matched your search
+2
-2
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user