diff --git a/src/onebot11/action/go-cqhttp/GetForwardMsg.ts b/src/onebot11/action/go-cqhttp/GetForwardMsg.ts index b1a8b470..3d02db57 100644 --- a/src/onebot11/action/go-cqhttp/GetForwardMsg.ts +++ b/src/onebot11/action/go-cqhttp/GetForwardMsg.ts @@ -21,7 +21,7 @@ interface Response { messages: (OB11Message & { content: OB11MessageData })[]; } -export class GoCQHTTGetForwardMsgAction extends BaseAction { +export class GoCQHTTPGetForwardMsgAction extends BaseAction { actionName = ActionName.GoCQHTTP_GetForwardMsg; PayloadSchema = SchemaData; protected async _handle(payload: Payload): Promise { diff --git a/src/onebot11/action/go-cqhttp/QuickAction.ts b/src/onebot11/action/go-cqhttp/QuickAction.ts index 49d90988..cf1926cc 100644 --- a/src/onebot11/action/go-cqhttp/QuickAction.ts +++ b/src/onebot11/action/go-cqhttp/QuickAction.ts @@ -8,7 +8,7 @@ interface Payload{ operation: QuickAction } -export class GoCQHTTHandleQuickAction extends BaseAction{ +export class GoCQHTTPHandleQuickAction extends BaseAction{ actionName = ActionName.GoCQHTTP_HandleQuickAction; protected async _handle(payload: Payload): Promise { handleQuickOperation(payload.context, payload.operation).then().catch(log); diff --git a/src/onebot11/action/index.ts b/src/onebot11/action/index.ts index e3960051..3cbae143 100644 --- a/src/onebot11/action/index.ts +++ b/src/onebot11/action/index.ts @@ -43,7 +43,7 @@ import SetQQAvatar from '@/onebot11/action/extends/SetQQAvatar'; import GoCQHTTPDownloadFile from './go-cqhttp/DownloadFile'; import GoCQHTTPGetGroupMsgHistory from './go-cqhttp/GetGroupMsgHistory'; import GetFile from './file/GetFile'; -import { GoCQHTTGetForwardMsgAction } from './go-cqhttp/GetForwardMsg'; +import { GoCQHTTPGetForwardMsgAction } from './go-cqhttp/GetForwardMsg'; import GetFriendMsgHistory from './go-cqhttp/GetFriendMsgHistory'; import { GetCookies } from './user/GetCookies'; import { SetMsgEmojiLike } from '@/onebot11/action/msg/SetMsgEmojiLike'; @@ -56,7 +56,7 @@ import { GetFriendWithCategory } from './extends/GetFriendWithCategory'; import { SendGroupNotice } from './go-cqhttp/SendGroupNotice'; import { Reboot, RebootNormol } from './system/Reboot'; import { GetGroupHonorInfo } from './go-cqhttp/GetGroupHonorInfo'; -import { GoCQHTTHandleQuickAction } from './go-cqhttp/QuickAction'; +import { GoCQHTTPHandleQuickAction } from './go-cqhttp/QuickAction'; import { GetGroupSystemMsg } from './group/GetGroupSystemMsg'; import { GetOnlineClient } from './go-cqhttp/GetOnlineClient'; import { IOCRImage, OCRImage } from './extends/OCRImage'; @@ -135,9 +135,9 @@ export const actionHandlers = [ new GoCQHTTPMarkMsgAsRead(), new GoCQHTTPUploadGroupFile(), new GoCQHTTPGetGroupMsgHistory(), - new GoCQHTTGetForwardMsgAction(), + new GoCQHTTPGetForwardMsgAction(), new GetFriendMsgHistory(), - new GoCQHTTHandleQuickAction(), + new GoCQHTTPHandleQuickAction(), new GetGroupSystemMsg() ];