refactor: flag handle&onebot标准化

This commit is contained in:
手瓜一十雪 committed 2024-12-05 14:17:09 +08:00
1 parent f492139d9e
commit 5dc0e0693a
9 files changed
+81 -105

No files matched your search

+2 -3
View File
@@ -333,7 +333,7 @@ export class NapCatOneBot11Adapter {
this.core,
+requesterUin,
req.extWords,
req.friendUid + '|' + req.reqTime
req.reqTime
)
);
} catch (e) {
@@ -365,8 +365,7 @@ export class NapCatOneBot11Adapter {
if (notifyTime < this.bootTime) {
continue;
}
const flag = notify.group.groupCode + '|' + notify.seq + '|' + notify.type;
const flag = notify.seq;
this.context.logger.logDebug('收到群通知', notify);
if (
[GroupNotifyMsgType.REQUEST_JOIN_NEED_ADMINI_STRATOR_PASS].includes(notify.type) &&