diff --git a/src/onebot/action/go-cqhttp/UploadGroupFile.ts b/src/onebot/action/go-cqhttp/UploadGroupFile.ts index 794ac246..80061f62 100644 --- a/src/onebot/action/go-cqhttp/UploadGroupFile.ts +++ b/src/onebot/action/go-cqhttp/UploadGroupFile.ts @@ -5,7 +5,7 @@ import fs from 'fs'; import { sendMsg } from '@/onebot/action/msg/SendMsg'; import { uri2local } from '@/common/utils/file'; import { FromSchema, JSONSchema } from 'json-schema-to-ts'; -import { SendMsgElementConstructor } from '@/onebot/helper/msg'; +import { SendMsgElementConstructor } from '@/onebot/helper/genMessage'; const SchemaData = { type: 'object', diff --git a/src/onebot/action/go-cqhttp/UploadPrivareFile.ts b/src/onebot/action/go-cqhttp/UploadPrivareFile.ts index 8df09088..cef525c3 100644 --- a/src/onebot/action/go-cqhttp/UploadPrivareFile.ts +++ b/src/onebot/action/go-cqhttp/UploadPrivareFile.ts @@ -5,7 +5,7 @@ import fs from 'fs'; import { sendMsg } from '@/onebot/action/msg/SendMsg'; import { uri2local } from '@/common/utils/file'; import { FromSchema, JSONSchema } from 'json-schema-to-ts'; -import { SendMsgElementConstructor } from '@/onebot/helper/msg'; +import { SendMsgElementConstructor } from '@/onebot/helper/genMessage'; const SchemaData = { type: 'object', diff --git a/src/onebot/action/msg/SendMsg/create-send-elements.ts b/src/onebot/action/msg/SendMsg/create-send-elements.ts index 95cc5a66..2c9667f0 100644 --- a/src/onebot/action/msg/SendMsg/create-send-elements.ts +++ b/src/onebot/action/msg/SendMsg/create-send-elements.ts @@ -3,7 +3,7 @@ import { uri2local } from '@/common/utils/file'; import { RequestUtil } from '@/common/utils/request'; import { MessageUnique } from '@/common/utils/MessageUnique'; import { AtType, CustomMusicSignPostData, IdMusicSignPostData, NapCatCore, Peer, SendMessageElement } from '@/core'; -import { SendMsgElementConstructor } from '@/onebot/helper/msg'; +import { SendMsgElementConstructor } from '@/onebot/helper/genMessage'; import { NapCatOneBot11Adapter } from '@/onebot'; export type MessageContext = { diff --git a/src/onebot/helper/index.ts b/src/onebot/helper/index.ts index 09b6fda5..3ec6f3c0 100644 --- a/src/onebot/helper/index.ts +++ b/src/onebot/helper/index.ts @@ -1,6 +1,6 @@ export * from './config'; -export * from './message'; +export * from './parseMessage'; export * from './converter'; export * from './quick'; -export * from './msg'; +export * from './genMessage'; export * from './event'; \ No newline at end of file