mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2024-11-21 09:36:35 +00:00
fix: typo
This commit is contained in:
parent
be1878cb2b
commit
5510fb473f
@ -21,7 +21,7 @@ interface Response {
|
|||||||
messages: (OB11Message & { content: OB11MessageData })[];
|
messages: (OB11Message & { content: OB11MessageData })[];
|
||||||
}
|
}
|
||||||
|
|
||||||
export class GoCQHTTGetForwardMsgAction extends BaseAction<Payload, any> {
|
export class GoCQHTTPGetForwardMsgAction extends BaseAction<Payload, any> {
|
||||||
actionName = ActionName.GoCQHTTP_GetForwardMsg;
|
actionName = ActionName.GoCQHTTP_GetForwardMsg;
|
||||||
PayloadSchema = SchemaData;
|
PayloadSchema = SchemaData;
|
||||||
protected async _handle(payload: Payload): Promise<any> {
|
protected async _handle(payload: Payload): Promise<any> {
|
||||||
|
@ -8,7 +8,7 @@ interface Payload{
|
|||||||
operation: QuickAction
|
operation: QuickAction
|
||||||
}
|
}
|
||||||
|
|
||||||
export class GoCQHTTHandleQuickAction extends BaseAction<Payload, null>{
|
export class GoCQHTTPHandleQuickAction extends BaseAction<Payload, null>{
|
||||||
actionName = ActionName.GoCQHTTP_HandleQuickAction;
|
actionName = ActionName.GoCQHTTP_HandleQuickAction;
|
||||||
protected async _handle(payload: Payload): Promise<null> {
|
protected async _handle(payload: Payload): Promise<null> {
|
||||||
handleQuickOperation(payload.context, payload.operation).then().catch(log);
|
handleQuickOperation(payload.context, payload.operation).then().catch(log);
|
||||||
|
@ -43,7 +43,7 @@ import SetQQAvatar from '@/onebot11/action/extends/SetQQAvatar';
|
|||||||
import GoCQHTTPDownloadFile from './go-cqhttp/DownloadFile';
|
import GoCQHTTPDownloadFile from './go-cqhttp/DownloadFile';
|
||||||
import GoCQHTTPGetGroupMsgHistory from './go-cqhttp/GetGroupMsgHistory';
|
import GoCQHTTPGetGroupMsgHistory from './go-cqhttp/GetGroupMsgHistory';
|
||||||
import GetFile from './file/GetFile';
|
import GetFile from './file/GetFile';
|
||||||
import { GoCQHTTGetForwardMsgAction } from './go-cqhttp/GetForwardMsg';
|
import { GoCQHTTPGetForwardMsgAction } from './go-cqhttp/GetForwardMsg';
|
||||||
import GetFriendMsgHistory from './go-cqhttp/GetFriendMsgHistory';
|
import GetFriendMsgHistory from './go-cqhttp/GetFriendMsgHistory';
|
||||||
import { GetCookies } from './user/GetCookies';
|
import { GetCookies } from './user/GetCookies';
|
||||||
import { SetMsgEmojiLike } from '@/onebot11/action/msg/SetMsgEmojiLike';
|
import { SetMsgEmojiLike } from '@/onebot11/action/msg/SetMsgEmojiLike';
|
||||||
@ -56,7 +56,7 @@ import { GetFriendWithCategory } from './extends/GetFriendWithCategory';
|
|||||||
import { SendGroupNotice } from './go-cqhttp/SendGroupNotice';
|
import { SendGroupNotice } from './go-cqhttp/SendGroupNotice';
|
||||||
import { Reboot, RebootNormol } from './system/Reboot';
|
import { Reboot, RebootNormol } from './system/Reboot';
|
||||||
import { GetGroupHonorInfo } from './go-cqhttp/GetGroupHonorInfo';
|
import { GetGroupHonorInfo } from './go-cqhttp/GetGroupHonorInfo';
|
||||||
import { GoCQHTTHandleQuickAction } from './go-cqhttp/QuickAction';
|
import { GoCQHTTPHandleQuickAction } from './go-cqhttp/QuickAction';
|
||||||
import { GetGroupSystemMsg } from './group/GetGroupSystemMsg';
|
import { GetGroupSystemMsg } from './group/GetGroupSystemMsg';
|
||||||
import { GetOnlineClient } from './go-cqhttp/GetOnlineClient';
|
import { GetOnlineClient } from './go-cqhttp/GetOnlineClient';
|
||||||
import { IOCRImage, OCRImage } from './extends/OCRImage';
|
import { IOCRImage, OCRImage } from './extends/OCRImage';
|
||||||
@ -135,9 +135,9 @@ export const actionHandlers = [
|
|||||||
new GoCQHTTPMarkMsgAsRead(),
|
new GoCQHTTPMarkMsgAsRead(),
|
||||||
new GoCQHTTPUploadGroupFile(),
|
new GoCQHTTPUploadGroupFile(),
|
||||||
new GoCQHTTPGetGroupMsgHistory(),
|
new GoCQHTTPGetGroupMsgHistory(),
|
||||||
new GoCQHTTGetForwardMsgAction(),
|
new GoCQHTTPGetForwardMsgAction(),
|
||||||
new GetFriendMsgHistory(),
|
new GetFriendMsgHistory(),
|
||||||
new GoCQHTTHandleQuickAction(),
|
new GoCQHTTPHandleQuickAction(),
|
||||||
new GetGroupSystemMsg()
|
new GetGroupSystemMsg()
|
||||||
];
|
];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user