mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-01-09 04:49:03 +08:00
fix: remove debug
This commit is contained in:
parent
5a4ad29727
commit
770652fe6b
@ -1209,9 +1209,6 @@ export class OneBotMsgApi {
|
||||
async waitGroupNotify(groupUin: string, memberUid?: string, operatorUid?: string) {
|
||||
const groupRole = this.core.apis.GroupApi.groupMemberCache.get(groupUin)?.get(this.core.selfInfo.uid.toString())?.role;
|
||||
const isAdminOrOwner = groupRole === 3 || groupRole === 4;
|
||||
console.log('isAdminOrOwner:', isAdminOrOwner);
|
||||
console.log('operatorUid:', operatorUid, typeof operatorUid);
|
||||
console.log('memberUid:', memberUid);
|
||||
if (isAdminOrOwner && !operatorUid) {
|
||||
let dataNotify: GroupNotify | undefined;
|
||||
await this.core.eventWrapper.registerListen('NodeIKernelGroupListener/onGroupNotifiesUpdated',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user