refactor: move checkSendMessage and handleForwardNode to separate files

This commit is contained in:
Wesley F. Young
2024-05-15 16:39:51 +08:00
parent a3f6c6fa5e
commit ede2365fe3
4 changed files with 280 additions and 305 deletions

View File

@@ -3,7 +3,7 @@ import { OB11BaseMetaEvent } from '../event/meta/OB11BaseMetaEvent';
import { OB11BaseNoticeEvent } from '../event/notice/OB11BaseNoticeEvent';
import { WebSocket as WebSocketClass } from 'ws';
import { wsReply } from './ws/reply';
import { log, logDebug, logError } from '@/common/utils/log';
import { logDebug, logError } from '@/common/utils/log';
import { ob11Config } from '@/onebot11/config';
import crypto from 'crypto';
import { ChatType, Group, GroupRequestOperateTypes, Peer } from '@/core/entities';